File tree Expand file tree Collapse file tree 1 file changed +11
-5
lines changed
Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -21,14 +21,15 @@ $pfe-modal--breakpoint--medium: 640px;
2121}
2222
2323::slotted([slot = " pfe-modal--header" ]) {
24- margin-top : 0 ;
24+ margin-top : 0 !important ;
2525 width : 90% ;
2626}
2727
28- ::slotted(:not ([slot ]):first-child ) {
29- margin-top : 0 ;
30- display : block ;
31- }
28+ // ::slotted(*) {
29+ // margin-top: 0;
30+ // display: block;
31+ // background-color: green;
32+ // }
3233
3334.pfe-modal {
3435 & __wrapper {
@@ -66,6 +67,11 @@ $pfe-modal--breakpoint--medium: 640px;
6667 @media screen and (min-width : $pfe-modal--breakpoint--medium ) {
6768 padding : calc (#{pfe-var (container-padding )} * 2 ) calc (#{pfe-var (container-padding )} * 6 ) calc (#{pfe-var (container-padding )} * 2 ) calc (#{pfe-var (container-padding )} * 2 );
6869 }
70+
71+ // Remove margin-top on the first slotted element that is not the header.
72+ ::slotted (* :nth-child(2 )) {
73+ margin-top : 0 !important ;
74+ }
6975 }
7076 }
7177
You can’t perform that action at this time.
0 commit comments