Skip to content

Commit

Permalink
Merge pull request #9 from unisonweb/split-pane-overflow
Browse files Browse the repository at this point in the history
Add improvements to split panes and overflow
  • Loading branch information
hojberg authored Dec 11, 2024
2 parents ea7a87d + ba3d150 commit 6fbbd57
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
11 changes: 9 additions & 2 deletions src/css/ucm/workspace/workspace-card.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
flex-direction: column;
gap: 0;
padding: 0;
width: 100%;
max-width: var(--c-workspace-card_width);
width: max(max-content, 100%);
min-width: max-content;
z-index: var(--layer-base);

& .workspace-card_titlebar {
Expand All @@ -24,6 +24,7 @@
border-bottom: 1px solid var(--c-workspace-card_border);
font-size: var(--font-size-medium);
color: var(--u-color_text_subdued);
position: relative;

& .workspace-card_titlebar_left {
display: flex;
Expand All @@ -32,6 +33,11 @@
align-items: center;
}

& .workspace-card_titlebar_right {
position: absolute;
right: 0.325rem;
}

& .workspace-card_title {
font-weight: bold;
}
Expand All @@ -56,6 +62,7 @@
flex-direction: column;
gap: 0;
padding: 0.75rem;
max-width: min(calc(var(--c-workspace-card_width) - 1.5rem), 100%);
}
}

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

.workspace-panes .workspace-card {
max-width: 100% !important;
}

0 comments on commit 6fbbd57

Please sign in to comment.