mirror of
https://github.com/ankitects/anki.git
synced 2026-01-07 02:53:54 -05:00
Fix: Apply platform specific styles
This commit is contained in:
parent
73f889681f
commit
6ad0ea6f67
2 changed files with 13 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue