-
Notifications
You must be signed in to change notification settings - Fork 9k
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
Standardize CSS patterns #4460
Comments
Yes big +1 and while you are at it maybe fix all the alignment issues (#4241)... |
More thoughts:
|
Absolutely agree. I think this is the most maintainable way of dealing with stylesheets. You could go one step further and relocate component-specific stylesheets to the components directory, alongside it's counterpart. Obviously quite a big change in one go, but can be a relatively simple to do in increments. Just a thought! Example
|
Swagger-UI's stylesheets are adequate overall, but there are several corners where we have CSS patchwork.
Bringing more consistency, safety, and clarity to this part of the project will bring about the following:
Current Behavior
My current pain points:
Possible Solution
Markdown
would have an accompanying_markdown.scss
stylesheet_markdown.scss
would be contained within.Markdown
,.MarkdownComponent
, or something similarp
style for a parent component wouldn't affectp
elements in that component's childrenContext
I wrote this ticket so I could spin my thoughts about #4458 into an actionable item.
The text was updated successfully, but these errors were encountered: