use border width instead of padding

This commit is contained in:
DokterKaj 2024-10-23 00:56:53 +08:00
parent 7b5643c27e
commit c71661c616
2 changed files with 6 additions and 6 deletions

View file

@ -1237,9 +1237,9 @@ a.search_subreddit:hover {
.gallery_progress {
position: absolute;
bottom: 10px;
padding: 10px;
background-color: rgba(0, 0, 0, 0.8);
border-radius: 20px;
border: 10px solid transparent;
border-radius: 15px;
display: flex;
gap: 10px;
}
@ -1263,11 +1263,11 @@ a.search_subreddit:hover {
@keyframes galleryDotIndicatorScroll {
from {
left: 10px;
left: 0;
}
to {
left: calc(100% - 10px);
left: 100%;
transform: translateX(-100%);
}
}