Skip to content

Commit

Permalink
Add width: 50% to constrain the .pane width
Browse files Browse the repository at this point in the history
(closes #1567)

Also remove a few `position: relative` where not needed.
Intent is to limit `position: relative` or `absolute` to only around places
that we set `left`,`top`,`right`,`bottom` properties, to avoid surprises.
(Better practice is to rely on flex for positioning instead.)
  • Loading branch information
bhousel committed Oct 18, 2024
1 parent 143c64b commit 84bd664
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions css/80_app.css
Original file line number Diff line number Diff line change
Expand Up @@ -858,8 +858,6 @@ a.hide-toggle {
display: flex;
flex: 1 0 0px;
flex-flow: column nowrap;

position: relative;
overflow: hidden;
}

Expand All @@ -871,23 +869,20 @@ a.hide-toggle {
display: flex;
flex: 1 0 0px;
flex-flow: row nowrap;

position: relative;
width: 200%;
}

.pane {
display: flex;
flex: 0 0 50%;
flex-flow: column nowrap;
width: 50%;
}

.inspector-body {
display: flex;
flex: 1 1 0px;
flex-flow: column nowrap;

position: relative;
overflow-y: scroll;
overflow-x: hidden;
}
Expand Down

0 comments on commit 84bd664

Please sign in to comment.