Skip to content

Commit

Permalink
fix(popup): apply consistent spacing
Browse files Browse the repository at this point in the history
Corrects inconsistent use of padding and margin
that results in broken UI without headers / search.
  • Loading branch information
nikku committed Nov 25, 2022
1 parent 62910eb commit 4d4ab8e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions assets/diagram-js.css
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,6 @@ marker.djs-dragger tspan {
position: absolute;

box-shadow: 0px 2px 10px var(--popup-shadow-color);
padding-top: 12px;
min-width: 120px;
outline: none;
}
Expand All @@ -559,7 +558,7 @@ marker.djs-dragger tspan {
display: flex;
align-items: stretch;
line-height: 20px;
margin: 0 12px 10px 12px;
margin: 10px 12px 10px 12px;
}

.djs-popup-header .entry {
Expand Down Expand Up @@ -603,7 +602,7 @@ marker.djs-dragger tspan {
}

.djs-popup-results {
margin: 0 3px 7px 12px;
margin: 7px 3px 7px 12px;
list-style: none;
max-height: 280px;
overflow: overlay;
Expand Down

0 comments on commit 4d4ab8e

Please sign in to comment.