Skip to content

Commit fa910bb

Browse files
authored
fix: Adjust Connect Cluster dialog to 320px width (kyma-project#4244)
* fix: adjust Connect Cluster dialog to 320px width * fix: remove unnecessary margin style
1 parent d493a03 commit fa910bb

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed

src/components/Clusters/components/AddClusterWizard.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ ui5-wizard {
4949
height: 100%;
5050
width: 75vw;
5151

52+
@media screen and (max-width: 380px) {
53+
width: 100%;
54+
}
55+
5256
.cluster-wizard {
5357
&__token-info,
5458
&__storage-preference {

src/components/Clusters/components/ClusterPreview.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@
1313
justify-content: start;
1414
gap: 30px;
1515
width: 100%;
16+
17+
@media screen and (max-width: 380px) {
18+
display: flex;
19+
flex-direction: column;
20+
}
1621
}
1722

1823
&__token {
@@ -31,6 +36,10 @@
3136
&__edit-button {
3237
align-self: flex-end;
3338
width: 80%;
39+
40+
@media screen and (max-width: 380px) {
41+
align-self: center;
42+
}
3443
}
3544

3645
&__storage-container {

src/shared/components/MonacoEditorESM/Editor.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,11 @@
5050
max-height: 50%;
5151
overflow-y: auto;
5252

53+
@media screen and (max-width: 380px) {
54+
width: 100%;
55+
overflow-y: unset;
56+
}
57+
5358
.line {
5459
width: 100%;
5560
display: block;

0 commit comments

Comments
 (0)