Adjust tags list to use screen size relative units

2a971a517ceaa0292147e7218955b250ed523806

Cohee <18619528+Cohee1207@users.noreply.github.com>

2 files changed, +9 -9Ignore whitespace
public/css/tags.css+2 -6
@@ -158,12 +158,8 @@
158158 flex-wrap: wrap;
159159 align-items: flex-start;
160160 margin-top: 5px;
161161 marginmax-bottomheight: 10px40dvh;
162- /* not 100% due to margins */
163- max-height: 90%;
164- /* scroll the list if needed */
165162 overflow-y: auto;
166-
167163}
168164
169165.rm_tag_filter .tag {
@@ -290,4 +286,4 @@
290286 min-height: calc(var(--mainFontSize)*2);
291287 width: var(--avatar-base-width);
292288 justify-content: center;
293-}
293 \ No newline at end of file
289+}
public/style.css+7 -3
@@ -295,6 +295,11 @@ table.responsiveTable {
295295 outline: 1px solid var(--interactable-outline-color);
296296}
297297
298+/* Prevent the outline from being cut off by hiding the overflow */
299+.tag.interactable:focus-visible {
300+ outline-offset: -1px;
301+}
302+
298303/* The specific input controls can always have a faint outline, even on mouse interaction, to give a better hint */
299304select:focus-visible,
300305input:focus-visible,
@@ -3094,8 +3099,6 @@ select option:not(:checked) {
30943099
30953100#charListFixedTop {
30963101 padding: 5px;
3097- /*prevent huge taglist from taking up the whole panel */
3098- overflow-y: hidden;
30993102}
31003103
31013104#form_character_search_form {
@@ -3122,6 +3125,7 @@ select option:not(:checked) {
31223125
31233126#character_search_bar {
31243127 flex: 1;
3128+ margin-bottom: 0;
31253129}
31263130
31273131#rm_button_search {
@@ -6291,4 +6295,4 @@ body:not(.movingUI) .drawer-content.maximized {
62916295.info-block.error {
62926296 border-color: var(--error-color, #e87f7f);
62936297 background-color: rgba(241, 163, 163, 0.2);
6294-}
6294 \ No newline at end of file
6298+}