-
Notifications
You must be signed in to change notification settings - Fork 3.7k
feat(ui): sticky page controls with flexbox layout #16701
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
base: main
Are you sure you want to change the base?
Changes from all commits
45003e1
4ab407a
7091ff4
311e3b2
04408e6
a9ebd2b
f778f53
e91b7c1
650576f
1e21feb
7b45f57
a6e676b
a08de54
a17709e
9f4525c
094b113
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 |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| @layer payload-default { | ||
| .autosave-cell__items { | ||
| display: flex; | ||
| align-items: center; | ||
| gap: calc(var(--base) * 0.5); | ||
| } | ||
| } | ||
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,70 @@ | ||
| @layer payload-default { | ||
| .versions { | ||
| width: 100%; | ||
| display: flex; | ||
| flex-direction: column; | ||
| flex: 1; | ||
| } | ||
|
|
||
| .versions__wrap { | ||
| padding-top: 0; | ||
| padding-bottom: var(--spacing-view-bottom); | ||
| margin-top: calc(var(--base) * 0.75); | ||
|
Contributor
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. Get rid of Our |
||
| display: flex; | ||
| flex-direction: column; | ||
| flex: 1; | ||
| } | ||
|
|
||
| .versions__header { | ||
| margin-bottom: var(--base); | ||
| } | ||
|
|
||
| .versions__no-versions { | ||
| margin-top: calc(var(--base) * 1.5); | ||
| } | ||
|
|
||
| .versions__parent-doc .banner__content { | ||
| display: flex; | ||
| } | ||
|
|
||
| [dir='ltr'] .versions__parent-doc-pills { | ||
| margin-left: auto; | ||
| } | ||
|
|
||
| [dir='rtl'] .versions__parent-doc-pills { | ||
| margin-right: auto; | ||
| } | ||
|
|
||
| .versions .table table { | ||
| width: 100%; | ||
| overflow: auto; | ||
| } | ||
|
|
||
| .versions .paginator { | ||
| margin-bottom: 0; | ||
| } | ||
|
|
||
| /* on mobile, extend the table all the way to the viewport edges */ | ||
| /* this is to visually indicate overflowing content */ | ||
| @media (max-width: 768px) { | ||
| .versions__wrap { | ||
| padding-top: 0; | ||
| margin-top: 0; | ||
| } | ||
|
|
||
| .versions .table { | ||
| display: flex; | ||
| width: calc(100% + calc(var(--gutter-h) * 2)); | ||
| max-width: unset; | ||
| left: calc(var(--gutter-h) * -1); | ||
| position: relative; | ||
| padding-left: var(--gutter-h); | ||
| } | ||
|
|
||
| .versions .table::after { | ||
| content: ''; | ||
| height: 1px; | ||
| padding-right: var(--gutter-h); | ||
| } | ||
| } | ||
| } | ||
This file was deleted.
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.
Get rid of
var(--base)- usecalc()with--spacer