Fix: Apply platform specific styles

This commit is contained in:
Luc Mcgrady 2025-11-30 12:43:24 +00:00
parent 73f889681f
commit 6ad0ea6f67
No known key found for this signature in database
GPG key ID: 4F3D7A0B17CC3D9C
2 changed files with 13 additions and 2 deletions

View file

@ -174,8 +174,9 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
showFloating = !showFloating;
}}
title={tr.actionsShortcutKey({ val: "M" })}
class="more"
>
{tr.studyingMore()} {"▾"} 
{tr.studyingMore()}
</button>
<div slot="items" class="dropdown">
@ -250,6 +251,14 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
max-height: 90vh;
}
.more::after {
content: " ▾ ";
:global(.isWin) & {
content: " ▼ ";
}
}
hr {
margin: 0;
}

View file

@ -39,6 +39,8 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
text-align: right;
padding-right: 0.5em;
opacity: 50%;
transform: translateY(-1px);
:global(.isLin) & {
transform: translateY(-1px);
}
}
</style>