-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Tag Cloud: Remove editor style so editor matches frontend #33289
Conversation
@@ -7,7 +7,6 @@ | |||
span { | |||
display: inline-block; | |||
margin-left: 5px; | |||
color: $gray-700; | |||
text-decoration: none; | |||
} | |||
} |
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.
What about the rest of the styles in this file, are they needed?
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.
Feels some of them could be considered to be moved to style.css
to have a slightly more opinionated block in terms of spacing.
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.
Yeah, I think the rest of the styles here might make sense to apply to the front-end.
I definitely agree with removing the gray color, but I think the non-underlined number and extra padding we have in the editor is a more polished visual treatment. I'd like to see that applied in both places.
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.
Good idea, PR updated...
Size Change: -162 B (0%) Total Size: 1.07 MB
ℹ️ View Unchanged
|
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.
@@ -42,7 +42,6 @@ | |||
@import "./social-links/editor.scss"; | |||
@import "./spacer/editor.scss"; | |||
@import "./table/editor.scss"; | |||
@import "./tag-cloud/editor.scss"; |
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.
The more we remove these editor.scss files, the better is for parity :)
a43607d
to
da3d721
Compare
da3d721
to
b4b48d5
Compare
* Tag Cloud: Remove editor style so editor matches frontend * Remove all editor styles * move editor styles to the frontend
Description
This moves the editor styles for Tag Cloud to the frontend, and also removes the color style, so that the editor matches the front end.
How has this been tested?
Using Emptytheme.
Screenshots
Before:
After:
Types of changes
Bug fix (non-breaking change which fixes an issue)
Checklist:
*.native.js
files for terms that need renaming or removal).