Skip to content

Commit c1a75b5

Browse files
committed
fix keyboard navigation for trash button
1 parent b16a459 commit c1a75b5

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/packages/core/content-type/workspace/views/design/content-type-design-editor-property.element.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -484,11 +484,13 @@ export class UmbContentTypeDesignEditorPropertyElement extends UmbLitElement {
484484
position: absolute;
485485
top: var(--uui-size-space-2);
486486
right: var(--uui-size-space-2);
487-
display: none;
487+
opacity: 0;
488488
}
489+
489490
#editor:hover uui-action-bar,
490-
#editor:focus uui-action-bar {
491-
display: block;
491+
#editor:focus uui-action-bar,
492+
#editor:focus-within uui-action-bar {
493+
opacity: 1;
492494
}
493495
494496
a {

0 commit comments

Comments
 (0)