mirror of
https://github.com/ankitects/anki.git
synced 2026-01-09 03:53:55 -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;
|
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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue