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
|
||||
</h2>
|
||||
<div className="absolute right-2 flex items-center gap-x-2">
|
||||
<LinkButton
|
||||
size="XS"
|
||||
to="settings/keyboard"
|
||||
theme="light"
|
||||
text={selectedKeyboard.name}
|
||||
TrailingIcon={LuKeyboard}
|
||||
/>
|
||||
<div className="h-[16px] w-px bg-slate-800/20 dark:bg-slate-200/20" />
|
||||
<div className="hidden md:flex gap-x-2 items-center">
|
||||
<LinkButton
|
||||
size="XS"
|
||||
to="settings/keyboard"
|
||||
theme="light"
|
||||
text={selectedKeyboard.name}
|
||||
LeadingIcon={LuKeyboard}
|
||||
/>
|
||||
<div className="h-[20px] w-px bg-slate-800/20 dark:bg-slate-200/20" />
|
||||
</div>
|
||||
|
||||
<Button
|
||||
size="XS"
|
||||
theme="light"
|
||||
|
|
Loading…
Reference in New Issue