You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Example:
If I have an element with a margin-top: 20px on the default state, and no styling set for the :hover state,
when switching state to :hover it will show 0 on the margin-top on the styleManager. (It actually shows empty , and so the placeholder is visible with the default value)
This is misleading, because really when hovering it won't change margin to 0... it will stay at 20.
I think it should show the inherited value from the default state, and if the user changes it, the clear button should revert to the inherited value as well.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
This happens on the current demo: https://grapesjs.com/demo
Example:
If I have an element with a
margin-top: 20px
on thedefault
state, and no styling set for the:hover
state,when switching state to
:hover
it will show0
on themargin-top
on the styleManager. (It actually shows empty , and so the placeholder is visible with the default value)This is misleading, because really when hovering it won't change margin to 0... it will stay at 20.
I think it should show the inherited value from the default state, and if the user changes it, the clear button should revert to the inherited value as well.
Beta Was this translation helpful? Give feedback.
All reactions