mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-22 01:05:34 +03:00
Change from flex to grid, for the header
Flex is just too… flexible, I need something more rigid like grid
This commit is contained in:
parent
da19e7ad02
commit
943c017928
1 changed files with 7 additions and 6 deletions
13
src/app.css
13
src/app.css
|
@ -78,17 +78,18 @@ a.mention span {
|
|||
backdrop-filter: blur(12px);
|
||||
border-bottom: 1px solid var(--divider-color);
|
||||
z-index: 1;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
cursor: default;
|
||||
z-index: 10;
|
||||
}
|
||||
.deck header > *:not(button) {
|
||||
flex-grow: 1;
|
||||
min-width: 44px;
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr 1fr;
|
||||
align-items: center;
|
||||
}
|
||||
.deck header > .header-side:last-of-type {
|
||||
text-align: right;
|
||||
grid-column: 3;
|
||||
}
|
||||
.deck header :is(button, .button).plain {
|
||||
backdrop-filter: none;
|
||||
}
|
||||
.deck header h1 {
|
||||
margin: 0 8px;
|
||||
|
|
Loading…
Reference in a new issue