-
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
[Data views]: Update icons and design tweaks #55391
Changes from 6 commits
d01f011
06da136
4b26a38
cc3a469
8d04537
2caf1f9
14767da
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 |
---|---|---|
@@ -1,6 +1,16 @@ | ||
.dataviews-wrapper { | ||
width: 100%; | ||
min-height: calc(100% - 60px); | ||
overflow: auto; | ||
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. Was this one necessary? 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. I think so, yes. Without it, if the list is bigger than the frame's height, it will still scroll but not get the right padding applied to this container and results in having the pagination at the bottom without it. I'm not sure if I could use a better css rule.. |
||
padding: $grid-unit-40; | ||
|
||
> div { | ||
min-height: 100%; | ||
} | ||
} | ||
|
||
.dataviews-pagination { | ||
margin-top: auto; | ||
} | ||
|
||
.dataviews-list-view { | ||
|
@@ -30,11 +40,6 @@ | |
} | ||
} | ||
|
||
.dataviews__select-control-prefix { | ||
color: $gray-700; | ||
text-wrap: nowrap; | ||
} | ||
|
||
.dataviews-view-grid__media { | ||
width: 100%; | ||
min-height: 200px; | ||
|
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 60px is not part of the data views component, so it seems it's not something we should be applying to
.dataviews-wrapper
instead maybe it should apply to the current usage of DataViews in thepage-pages
component.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 call. Actually it seem I had this change before the
overflow
rule. It seems thecalc
is not needed any more.