Skip to content

Commit

Permalink
Make open keyboard button more visible (#232)
Browse files Browse the repository at this point in the history
  • Loading branch information
dqnykamp authored Aug 14, 2024
1 parent cc8df27 commit 0e5db77
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ Tailwind base is purposely not included because we want all styles to be prefixe
* Some styles from tailwind preflight need to be included here
*/
box-sizing: border-box;
border-stylke: solid;
--tw-border-spacing-x: 0;
--tw-border-spacing-y: 0;
--tw-translate-x: 0;
Expand Down Expand Up @@ -64,6 +63,7 @@ Tailwind base is purposely not included because we want all styles to be prefixe
@apply border-b-black border-b;
@apply hover:bg-slate-300 active:bg-slate-400;
@apply w-12 h-[1.5rem] flex items-center justify-center;
@apply bg-white border;
}

.virtual-keyboard-tab-list {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ export function KeyboardTray({ onClick }: { onClick: OnClick }) {
className="open-keyboard-button"
onClick={() => setOpen((old) => !old)}
title={open ? "Close Keyboard" : "Open Keyboard"}
aria-label={open ? "Close Keyboard" : "Open Keyboard"}
>
<KeyboardIcon />
</button>
Expand All @@ -60,6 +61,7 @@ export function KeyboardTray({ onClick }: { onClick: OnClick }) {
className="close-keyboard-button"
onClick={() => setOpen(false)}
title="Close Keyboard"
aria-label="Close Keyboard"
>
&times;
</button>
Expand Down

0 comments on commit 0e5db77

Please sign in to comment.