Skip to content

Commit 82c6141

Browse files
committed
XXX - layout magic
1 parent 1bde77f commit 82c6141

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

src/components/vm/consoles/consoles.css

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
.pf-v5-c-console__vnc > div > div {
77
inline-size: 100%;
88
block-size: 100%;
9+
max-block-size: 100%;
910
}
1011

1112
.pf-v5-c-console__actions {
@@ -42,5 +43,18 @@
4243
}
4344

4445
.consoles-card {
45-
height: 100%;
46+
block-size: 100%;
47+
max-block-size: 100%;
48+
}
49+
50+
.consoles-page-expanded .pf-v5-c-console {
51+
display: block;
52+
}
53+
54+
.consoles-page-expanded .pf-v5-c-console__vnc {
55+
margin-bottom: 15px;
56+
}
57+
58+
.consoles-page-expanded .consoles-card .pf-v5-c-card__body {
59+
max-block-size: calc(100% - 120px);
4660
}

0 commit comments

Comments
 (0)