Skip to content

Commit 80cc0bf

Browse files
committed
fix: update our css overrides to have editor fill the viewport of a split
1 parent 003baa6 commit 80cc0bf

File tree

1 file changed

+18
-1
lines changed
  • plugins/plugin-codeflare/web/scss/components/Dashboard

1 file changed

+18
-1
lines changed

plugins/plugin-codeflare/web/scss/components/Dashboard/_index.scss

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
* limitations under the License.
1515
*/
1616

17+
@import "@kui-shell/plugin-client-common/web/scss/components/Card/_mixins";
18+
@import "@kui-shell/plugin-client-common/web/scss/components/Editor/_mixins";
1719
@import "@kui-shell/plugin-client-common/web/scss/components/Terminal/_mixins";
1820
@import "@kui-shell/plugin-client-common/web/scss/components/Terminal/Maximized";
1921

@@ -23,10 +25,25 @@
2325
grid-template-areas: "T1" "T2" "T2";
2426
}
2527

28+
@mixin Fill {
29+
display: flex;
30+
flex-direction: column;
31+
flex: 1;
32+
}
33+
2634
@include Scrollback {
2735
@include Block {
2836
@include IsMaximized {
29-
overflow: hidden;
37+
overflow: hidden;
38+
39+
@include CardBody {
40+
& > pre > .paragraph {
41+
@include Fill;
42+
}
43+
@include EditorInMarkdown {
44+
@include Fill;
45+
}
46+
}
3047
}
3148
@include MarkdownTabContent {
3249
overflow: auto;

0 commit comments

Comments
 (0)