-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IBX-1608: Added possibility to add field by click #124
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Requesting changes because of passing argument to addField()
, which does not take parameters.
@@ -60,6 +60,11 @@ | |||
} | |||
} | |||
|
|||
&--active-field-definitions-group { | |||
border: calculateRem(1px) solid $ibexa-color-info; | |||
border-radius: $ibexa-border-radius; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Question: Shouldn't border-radius
be defined directly on element? That border does not add to element width?
); | ||
|
||
if (targetContainer) { | ||
addField(event.currentTarget); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
addField(event.currentTarget); | |
addField(); |
'.ibexa-collapse--field-definitions-group.ibexa-collapse--active-field-definitions-group .ibexa-content-type-edit__field-definition-drop-zone' | ||
); | ||
|
||
if (targetContainer) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nitpick: probably we can add this check at the beginning and then proceed with preparing data for addField
.
ddb4a14
to
f4748f3
Compare
Checklist:
$ composer fix-cs
)