web/updates: reduce top padding on mobile

This commit is contained in:
wukko 2024-07-17 14:38:02 +06:00
parent dd7c17efeb
commit cf4ee05e0e
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2
2 changed files with 8 additions and 1 deletions

View file

@ -37,7 +37,7 @@
flex-direction: column; flex-direction: column;
align-items: start; align-items: start;
gap: calc(var(--padding) / 2); gap: calc(var(--padding) / 2);
padding: 1em 0; /* match default <p> padding */ padding-bottom: 1em; /* match default <p> padding */
} }
.changelog-info { .changelog-info {

View file

@ -136,6 +136,7 @@
max-width: 850px; max-width: 850px;
overflow-x: hidden; overflow-x: hidden;
padding: var(--padding); padding: var(--padding);
padding-top: calc(var(--padding) + 1em);
} }
button[disabled] { button[disabled] {
@ -160,4 +161,10 @@
display: none; display: none;
} }
} }
@media screen and (max-width: 535px) {
.changelog-wrapper {
padding-top: var(--padding)
}
}
</style> </style>