UI: Improve multi OS display #205

Merged
Oleg-Komarov merged 40 commits from ui/multi-os into main 2024-07-16 07:24:07 +02:00
2 changed files with 4 additions and 2 deletions
Showing only changes of commit 02a6e5bdd8 - Show all commits

View File

@ -140,6 +140,7 @@
// Show button if item platform matches active platform // Show button if item platform matches active platform
if (itemPlatformBasePrefix.startsWith(activePlatformPrefix)) { if (itemPlatformBasePrefix.startsWith(activePlatformPrefix)) {
item.classList.add('btn-install-action-item-active');
item.classList.remove('d-none'); item.classList.remove('d-none');
} }
}); });

View File

@ -167,8 +167,9 @@
.btn-install-action-item .btn-install-action-item
+margin(3, bottom) +margin(3, bottom)
&:last-child .btn-install-action-item-active ~ .btn-install-action-item-active
+margin(0, bottom) border-bottom: thin solid var(--border-color)
+padding(3, bottom)
.btn-install-drag, .btn-install-drag,
.btn-install-drag:active .btn-install-drag:active