Skip to content

Commit 9c7dbf7

Browse files
committed
US206196 moved close button padding from the svg to the container.
1 parent 1a2137c commit 9c7dbf7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

elements/pfe-modal/src/pfe-modal.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ $pfe-modal--breakpoint--medium: 640px;
1414
--pfe-modal__overlay--BackgroundColor: #{pfe-color(overlay)};
1515
--pfe-modal--CloseButtonSize: calc(#{pfe-var(ui--element--size)} - 4px);
1616
display: block;
17+
position: relative;
1718
}
1819

1920
:host(:not([has_header])) {
@@ -29,7 +30,6 @@ $pfe-modal--breakpoint--medium: 640px;
2930
&__wrapper {
3031
position: absolute;
3132
z-index: 2;
32-
top: calc(#{pfe-local(MaxHeight)} - 50vh);
3333
top: 10%;
3434
left: 0;
3535
right: 0;
@@ -84,14 +84,14 @@ $pfe-modal--breakpoint--medium: 640px;
8484
right: calc(#{pfe-var(container-padding)} * .5);
8585
cursor: pointer;
8686
line-height: .5;
87+
padding: pfe-var(container-padding);
8788

8889
@media screen and (min-width: $pfe-modal--breakpoint--medium) {
8990
top: calc(#{pfe-var(container-padding)} * .75);
9091
right: calc(#{pfe-var(container-padding)} * .75);
9192
}
9293

9394
> svg {
94-
padding: 20px;
9595
fill: pfe-radio(text);
9696
height: pfe-var(ui--element--size);
9797
width: pfe-var(ui--element--size);

0 commit comments

Comments
 (0)