use auto-fill instead of fixed column count
This commit is contained in:
parent
68093b6276
commit
1229bd2f48
3 changed files with 1 additions and 7 deletions
|
@ -339,8 +339,6 @@ nav {
|
|||
grid-template-areas: "content";
|
||||
padding: 0;
|
||||
|
||||
--_actionsColumnCount: 3;
|
||||
|
||||
.column {
|
||||
padding-top: 0;
|
||||
margin: var(--navbar-height) 0 0 0;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
.StatusActionButtons {
|
||||
.quick-action-buttons {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(var(--_actionsColumnCount, 6), 1fr);
|
||||
grid-template-columns: repeat(auto-fill, 6em);
|
||||
grid-auto-flow: row dense;
|
||||
grid-auto-rows: 1fr;
|
||||
grid-gap: 1.25em 1em;
|
||||
|
|
|
@ -292,10 +292,6 @@
|
|||
}
|
||||
}
|
||||
|
||||
#sidebar {
|
||||
--_actionsColumnCount: 4;
|
||||
}
|
||||
|
||||
.sidebar .edit-profile-button {
|
||||
display: none;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue