Skip to content

Commit

Permalink
improve pane widths
Browse files Browse the repository at this point in the history
  • Loading branch information
hojberg committed Jan 2, 2025
1 parent 440a3e3 commit 993c9ad
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/css/ucm/workspace/workspace-card.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
flex-direction: column;
gap: 0;
padding: 0;
width: max(max-content, 100%);
min-width: max-content;
width: var(--c-workspace-card_width);
z-index: var(--layer-base);

& .workspace-card_titlebar {
Expand Down
2 changes: 1 addition & 1 deletion src/css/ucm/workspace/workspace-pane.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
flex-direction: column;
gap: 0.75rem;
padding: 0.75rem;
width: 100%;
overflow: auto;
width: min(var(--c-workspace-card_width), 100%);

& .error {
display: flex;
Expand Down
5 changes: 5 additions & 0 deletions src/css/ucm/workspace/workspace-panes.css
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,8 @@
.workspace-panes_resize-handle:hover::before {
background: var(--u-color_focus-border);
}

.workspace-panes .workspace-card {
width: 100%;
min-width: max-content;
}

0 comments on commit 993c9ad

Please sign in to comment.