mirror of
https://github.com/koloml/philomena-tagging-assistant.git
synced 2026-09-22 20:09:39 +00:00
Reduced the space used by the tag category headline
This is mainly affecting the Derpibooru version of the extension. Tags list on Derpibooru is using flex with gaps instead of flex with margins appearing like gaps (what currently Furbooru uses). This change would likely be applied to the Furbooru as well.
This commit is contained in:
@@ -134,6 +134,7 @@ export class TagsListBlock extends BaseComponent {
|
||||
heading.style.display = 'none';
|
||||
heading.style.order = `var(${TagsListBlock.#orderCssVariableForGroup(group.id)}, 0)`;
|
||||
heading.style.flexBasis = '100%';
|
||||
heading.classList.add('tag-category-headline');
|
||||
|
||||
// We're inserting heading to the top just to make sure that heading is always in front of the tags related to
|
||||
// this category.
|
||||
|
||||
Reference in New Issue
Block a user