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
{{ message }}
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.
Right now, there are a lot of styles in static/css/frame.scss that are specific to the text editor tool.
Instead of those styles being declared at top level, it would be nice to use the fact that each tool puts a different class name on the #canvas-container element, and use sass nesting to encapsulate tool-specific styles.
For instance, the color styles currently scoped to #text-input, like:
punamdahiya
changed the title
Encapsulate text tool styles using sass nesting
[Annotations] Encapsulate text tool styles using sass nesting
Jul 27, 2018
Right now, there are a lot of styles in
static/css/frame.scss
that are specific to the text editor tool.Instead of those styles being declared at top level, it would be nice to use the fact that each tool puts a different class name on the
#canvas-container
element, and use sass nesting to encapsulate tool-specific styles.For instance, the color styles currently scoped to
#text-input
, like:seem to work fine if nested under the more general
.textTool
selector:Related to #4700.
The text was updated successfully, but these errors were encountered: