fixed backend field alignment (line wrap) #2641
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hey, I suggest changing this one line in the admin CSS file to get correct alignment of the fields. IDK if this affects something else but it seems that the particle modal itself and the particle defaults tab should be all.
Before:
After:
Additionally this one also fixes this ugly "mobile" line-wrap.
Before:
After:
This issue happens because the
margin: 5px;
is not respected within themax-width
. Also we create aleft-margin
for.settings-param-field
of175px
which occupies the space but actually we would need185px
. You can verify this in developers tools quite easily. I reduced themax-width
to165px
so we consume as much space as we have (165px
+10px
occupied by the margin, this is 2 x 5px).