-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
DataViews: Add missing styles and remove opinionated ones for generic usage #64711
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,11 +7,6 @@ | |
color: $gray-700; | ||
margin-bottom: auto; | ||
|
||
a { | ||
text-decoration: none; | ||
color: $gray-900; | ||
font-weight: 500; | ||
} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The links within the dataviews fields shouldn't be that opinionated, they should just inherit the global link styles applied in the current app. This is the change this is the most impactful in this PR but I didn't notice any regression. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Agreed, but shouldn't we add those styles to our current usages? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It seems you don't see a regression because we have similar opinionated styles for There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yes, I guess these were needed before the introduction of the primary fields. |
||
th { | ||
text-align: left; | ||
color: $gray-900; | ||
|
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.
you can define fields that can't be hidden and if all your fields are non hideable, the "properties" section of the view config should be hidden entirely.