Skip to content

Commit

Permalink
fix: move popout close button to header
Browse files Browse the repository at this point in the history
Closes #364
  • Loading branch information
Skaiir committed Jun 5, 2024
1 parent 2b73687 commit c020a3d
Show file tree
Hide file tree
Showing 6 changed files with 1,171 additions and 1,115 deletions.
25 changes: 25 additions & 0 deletions src/assets/properties-panel.css
Original file line number Diff line number Diff line change
Expand Up @@ -1334,6 +1334,31 @@ textarea.bio-properties-panel-input {
text-transform: capitalize;
}

.bio-properties-panel-popup .bio-properties-panel-popup__close {
margin: -12px;
margin-left: 12px;
width: 40px;
height: 40px;
border: none;
background-color: var(--popup-header-background-color);
}

.bio-properties-panel-popup .bio-properties-panel-popup__close:hover,
.bio-properties-panel-popup .bio-properties-panel-popup__close:focus-visible {
background-color: var(--popup-background-color);
}

.bio-properties-panel-popup .bio-properties-panel-popup__close:focus-visible {
outline-offset: -2px;
}

.bio-properties-panel-popup .bio-properties-panel-popup__close svg {
width: 16px;
height: 16px;
fill: currentColor;
margin-top: 2px;
}

.bio-properties-panel-popup .bio-properties-panel-popup__header .bio-properties-panel-popup__drag-handle svg {
margin-left: -4px;
}
Expand Down
Loading

0 comments on commit c020a3d

Please sign in to comment.