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);
|
backdrop-filter: blur(12px);
|
||||||
border-bottom: 1px solid var(--divider-color);
|
border-bottom: 1px solid var(--divider-color);
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
cursor: default;
|
cursor: default;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
}
|
display: grid;
|
||||||
.deck header > *:not(button) {
|
grid-template-columns: 1fr 1fr 1fr;
|
||||||
flex-grow: 1;
|
align-items: center;
|
||||||
min-width: 44px;
|
|
||||||
}
|
}
|
||||||
.deck header > .header-side:last-of-type {
|
.deck header > .header-side:last-of-type {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
|
grid-column: 3;
|
||||||
|
}
|
||||||
|
.deck header :is(button, .button).plain {
|
||||||
|
backdrop-filter: none;
|
||||||
}
|
}
|
||||||
.deck header h1 {
|
.deck header h1 {
|
||||||
margin: 0 8px;
|
margin: 0 8px;
|
||||||
|
|
Loading…
Reference in a new issue