1
0
mirror of https://github.com/koloml/furbooru-tagging-assistant.git synced 2025-12-23 14:52:59 +00:00

Merge pull request #137 from koloml/feature/reduce-gap-in-tag-category-titles

Furbooru: Applying styling changes previously used only for Derpibooru
This commit is contained in:
2025-09-24 13:13:22 +04:00
committed by GitHub
2 changed files with 5 additions and 22 deletions

View File

@@ -68,15 +68,8 @@
.tag {
cursor: pointer;
user-select: none;
// Derpibooru has slight differences in how tags are displayed.
@if environment.$current-site == 'derpibooru' {
padding: 0 5px;
gap: 0;
}
@else {
padding: 5px;
}
padding: 0 5px;
gap: 0;
&:hover {
background: booru-vars.$resolved-tag-color;

View File

@@ -6,18 +6,8 @@ h2.tag-category-headline {
$base-margin-top: .83em;
$base-margin-bottom: .62em;
// Tag List element was updated to use flex & gaps. This should be applied to Furbooru later, once updates will be
// applied from the base Philomena version.
@if environment.$current-site == 'derpibooru' {
margin: {
top: calc(#{$base-margin-top} - #{booru-vars.$padding-small});
bottom: calc(#{$base-margin-bottom} - #{booru-vars.$padding-small});
}
}
@else {
margin: {
top: $base-margin-top;
bottom: $base-margin-bottom;
}
margin: {
top: calc(#{$base-margin-top} - #{booru-vars.$padding-small});
bottom: calc(#{$base-margin-bottom} - #{booru-vars.$padding-small});
}
}