Skip to content

Commit ef65f82

Browse files
committed
refactor: clean up UI to better support space required for new layout toggle controls
1 parent 23c9842 commit ef65f82

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

packages/uikit-workshop/src/sass/scss/04-components/_modal.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,13 @@
4040
display: flex;
4141
}
4242

43+
.pl-c-modal__toolbar-controls {
44+
display: flex;
45+
flex-direction: column;
46+
position: relative;
47+
z-index: 10;
48+
}
49+
4350
/**
4451
* Modal close button
4552
* 1) Closes the modal popup

packages/uikit-workshop/src/sass/scss/04-components/_pattern-info.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@
6666
.pl-c-modal & {
6767
@media all and (min-width: $pl-bp-xl) {
6868
padding-left: 2rem;
69+
padding-right: 2.5rem;
6970
}
7071
}
7172
}

packages/uikit-workshop/src/sass/scss/04-components/_tabs.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333

3434
.pl-c-modal & {
3535
@media all and (min-width: $pl-bp-xl) {
36-
right: 2rem;
36+
right: 2.5rem;
3737
left: 2rem;
3838
}
3939
}

0 commit comments

Comments
 (0)