Use grid-row-gap instead of not last margin-bottom.
This commit is contained in:
parent
b67aa63b26
commit
ced98d0c42
2 changed files with 12 additions and 5 deletions
|
@ -7,10 +7,6 @@ h2, h3
|
|||
{
|
||||
margin-top: 0;
|
||||
}
|
||||
#left > *:not(:last-child)
|
||||
{
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
#album_metadata h2 .editor_input
|
||||
{
|
||||
font-size: inherit;
|
||||
|
@ -22,6 +18,12 @@ h2, h3
|
|||
padding: 8px;
|
||||
}
|
||||
|
||||
#left
|
||||
{
|
||||
display: grid;
|
||||
grid-row-gap: 30px;
|
||||
grid-auto-rows: max-content;
|
||||
}
|
||||
#right
|
||||
{
|
||||
grid-row-gap: 8px;
|
||||
|
|
|
@ -26,10 +26,15 @@ h2, h3
|
|||
{
|
||||
grid-area: header;
|
||||
}
|
||||
#left
|
||||
{
|
||||
display: grid;
|
||||
grid-row-gap: 30px;
|
||||
grid-auto-rows: max-content;
|
||||
}
|
||||
#left > *
|
||||
{
|
||||
background-color: var(--color_site_transparency);
|
||||
margin-bottom: 30px;
|
||||
padding: 8px;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue