Skip to content

Commit f637cc8

Browse files
committed
fix step overlay height
1 parent c971625 commit f637cc8

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

src/components/VisualTour/visualTour.scss

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515

1616
.#{$eccgui}-visual-tour__focushelper {
1717
position: absolute;
18+
z-index: 8001; // 1 over application header
1819
box-sizing: border-box;
1920
border: 2px solid $eccgui-color-accent;
2021
border-radius: var(--#{$eccgui}-visual-tour-focus-padding);
2122
box-shadow: 0 0 0 10000px $eccgui-color-modal-backdrop;
22-
z-index: 8001; // 1 over application header
2323
}
2424

2525
.#{$eccgui}-visual-tour__backdrop {
@@ -64,15 +64,17 @@
6464
}
6565

6666
.#{$eccgui}-card__content {
67-
.#{$eccgui}-visual-tour__overlay_content &,
67+
.#{$eccgui}-visual-tour__overlay__content &,
6868
.#{$eccgui}-visual-tour__dialog & {
69+
max-height: 45vh;
70+
6971
img {
72+
display: block;
7073
width: auto;
71-
height: auto;
7274
max-width: 100%;
73-
max-height: 100%;
74-
display: block;
75+
height: auto;
76+
max-height: 40vh;
7577
margin: 0 auto;
7678
}
7779
}
78-
}
80+
}

0 commit comments

Comments
 (0)