[QUESTIONS] Stop the style manager from replacing AUTO with the pixel units
Question
Not too sure how to explain it, but it appears that the style manager replaces 'AUTO' with the actual units. But if the user changes a value, e.g. margin-top. It saves the units, not the 'AUTO' value within the other fields that were not amended. Meaning the behavior of the div is unexpectedly different. e.g. no longer centered when the canvas is resized.
Example:
Before amending top-margin (centered on a small screen):

Before amending top-margin (centered on a largescreen):

Amending only the top-margin field:

Resize the canvas (ideally, the right and left margin should still be set to AUTO:

Is the expected behavior and is there anything I can do to prevent it?
Answers (3)
One of my settings was incorrect during testing.
Hi @adamwpe
I have the exact same issue. What setting did you change to solve this?
Thanks & best regards
@adamwpe
I have the same issue. How did you solve it?
Related Questions and Answers
Continue research with similar issue discussions.
Issue #1821
[QUESTIONS] How to apply the style changes to the ID instead of the class?
Hi, I have two elements with the same classes. I want to apply style changes with style manager to one of these two elements. I add ID but...
Issue #2360
[Question] How to add a new property type(integer) to StyleManager?
Hi, I am trying to create a custom StyleManager property with 'integer' type. My ultimate goal is to 're-define' how certain units are disp...
Issue #1198
QUESTIONS : Find element in Model
I have custom component and it render below html, I want to update value of h4 tilte and other element on trait changed, but not sure how c...
Issue #3083
[Feature]: Highlight drop zones
Hi @artf , How would you recommend highlighting the components on the canvas that the selected block can be dropped into based on draggable...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.