Skip to content

Commit

Permalink
fix(plugins/plugin-client-common): in narrower windows, use top-botto…
Browse files Browse the repository at this point in the history
…m split
  • Loading branch information
starpit committed Sep 3, 2022
1 parent 9cf5da2 commit 4740a40
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,18 +42,26 @@
grid-area: T8;
}

/** Case: no splits */
/** Case: 1 split */
.kui--terminal-split-container[data-split-count='1'] {
@include Rows(1);
@include Columns(1);
grid-template-areas: 'T1';
}

/** Case: 2 splits */
@include Split(2) {
@include Rows(1);
@include Columns(2);
grid-template-areas: 'T1 T2';
}
@media all and (max-width: 950px) {
@include Split(2) {
@include Rows(3);
@include Columns(1);
grid-template-areas: 'T1' 'T2' 'T2';
}
}

@include Split(3) {
@include Rows(4);
Expand Down

0 comments on commit 4740a40

Please sign in to comment.