Skip to content

Commit 80aead7

Browse files
committed
fixup! ✨(frontend) adds f2 shortcut using a fakenode since it's outside the treeview struct
1 parent 1e1b0b7 commit 80aead7

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

src/frontend/apps/impress/src/features/docs/doc-tree/components/DocTreeItemActions.tsx

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -196,17 +196,10 @@ export const DocTreeItemActions = ({
196196
}}
197197
aria-label={t('More options')}
198198
tabIndex={-1}
199+
$theme="brand"
200+
$variation="secondary"
199201
$css={css`
200-
background: transparent;
201-
border: none;
202-
padding: 0;
203-
cursor: pointer;
204-
display: flex;
205-
align-items: center;
206-
justify-content: center;
207-
208202
&:focus-visible {
209-
outline: 2px solid var(--c--globals--colors--brand-500) !important;
210203
outline-offset: -2px;
211204
border-radius: var(--c--globals--spacings--st);
212205
}
@@ -237,7 +230,6 @@ export const DocTreeItemActions = ({
237230
tabIndex={-1}
238231
$css={css`
239232
&:focus-visible {
240-
outline: 2px solid var(--c--globals--colors--brand-500) !important;
241233
outline-offset: -2px;
242234
border-radius: var(--c--globals--spacings--st);
243235
}

0 commit comments

Comments
 (0)