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; showFloating = !showFloating;
}} }}
title={tr.actionsShortcutKey({ val: "M" })} title={tr.actionsShortcutKey({ val: "M" })}
class="more"
> >
{tr.studyingMore()} {"▾"}  {tr.studyingMore()}
</button> </button>
<div slot="items" class="dropdown"> <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; max-height: 90vh;
} }
.more::after {
content: " ▾ ";
:global(.isWin) & {
content: " ▼ ";
}
}
hr { hr {
margin: 0; 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; text-align: right;
padding-right: 0.5em; padding-right: 0.5em;
opacity: 50%; opacity: 50%;
transform: translateY(-1px); :global(.isLin) & {
transform: translateY(-1px);
}
} }
</style> </style>