Skip to content

Commit 5326f8d

Browse files
committed
fix: terminals spacing when splt
1 parent d7af34b commit 5326f8d

3 files changed

Lines changed: 15 additions & 6 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ logs
1717
.DS_Store
1818
.fleet
1919
.idea
20+
.LoCode
2021

2122
# Local env files
2223
.env

app/components/EditorArea.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -195,15 +195,15 @@ onBeforeUnmount(() => {
195195
.split-handle {
196196
position: absolute;
197197
top: 0;
198-
width: 6px;
198+
width: 4px;
199199
height: 100%;
200200
cursor: col-resize;
201201
z-index: 5;
202-
transform: translateX(-3px);
202+
transform: translateX(-2px);
203203
}
204204
205205
.split-handle:hover {
206-
background: rgba(255, 255, 255, 0.1);
206+
background: rgba(255, 255, 255, 0.2);
207207
}
208208
209209
.drop-overlay {

app/components/TerminalPanel.vue

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -535,25 +535,33 @@ onBeforeUnmount(() => {
535535
height: 100%;
536536
}
537537
538+
.terminal-slot.split-left :deep(.xterm) {
539+
padding-right: 2px !important;
540+
}
541+
538542
.terminal-slot.split-right {
539543
order: 1;
540544
flex: 1;
541545
height: 100%;
542546
min-width: 0;
543547
}
544548
549+
.terminal-slot.split-right :deep(.xterm) {
550+
padding-left: 2px !important;
551+
}
552+
545553
.terminal-split-handle {
546554
position: absolute;
547555
top: 0;
548-
width: 6px;
556+
width: 4px;
549557
height: 100%;
550558
cursor: col-resize;
551559
z-index: 5;
552-
transform: translateX(-3px);
560+
transform: translateX(-2px);
553561
}
554562
555563
.terminal-split-handle:hover {
556-
background: rgba(255, 255, 255, 0.2);
564+
background: rgba(255, 255, 255, 0.25);
557565
}
558566
559567
/* Terminal drop overlay */

0 commit comments

Comments
 (0)