mirror of https://github.com/jetkvm/kvm.git
refactor(ui): Hide keyboard layout settings on mobile and fix minor styling
This commit is contained in:
parent
a97c0c2465
commit
bfb8a825e3
|
@ -254,14 +254,17 @@ function KeyboardWrapper() {
|
||||||
Virtual Keyboard
|
Virtual Keyboard
|
||||||
</h2>
|
</h2>
|
||||||
<div className="absolute right-2 flex items-center gap-x-2">
|
<div className="absolute right-2 flex items-center gap-x-2">
|
||||||
|
<div className="hidden md:flex gap-x-2 items-center">
|
||||||
<LinkButton
|
<LinkButton
|
||||||
size="XS"
|
size="XS"
|
||||||
to="settings/keyboard"
|
to="settings/keyboard"
|
||||||
theme="light"
|
theme="light"
|
||||||
text={selectedKeyboard.name}
|
text={selectedKeyboard.name}
|
||||||
TrailingIcon={LuKeyboard}
|
LeadingIcon={LuKeyboard}
|
||||||
/>
|
/>
|
||||||
<div className="h-[16px] w-px bg-slate-800/20 dark:bg-slate-200/20" />
|
<div className="h-[20px] w-px bg-slate-800/20 dark:bg-slate-200/20" />
|
||||||
|
</div>
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
size="XS"
|
size="XS"
|
||||||
theme="light"
|
theme="light"
|
||||||
|
|
Loading…
Reference in New Issue