File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 66 top : 2rem ;
77 transition : top 0.2s ease-in-out ;
88 margin-top : 3rem ;
9+ position : relative ; // adăugat pentru context absolut ads-panel
910
1011 & :only-child {
1112 position : -webkit-sticky ;
1415
1516 > section {
1617 @extend %panel-border ;
17-
1818 padding-left : 1rem ;
1919
2020 & :not (:first-child ) {
2121 margin-top : 4rem ;
2222 }
2323
2424 & .ads-panel {
25+ position : absolute ;
26+ top : 0 ;
27+ right : 0 ;
2528 padding : 1rem ;
2629 text-align : center ;
2730 background-color : var (--panel-bg , #ffffff );
2831 border-radius : 0.25rem ;
32+ z-index : 1 ;
33+ box-shadow : 0 0 8px rgba (0 , 0 , 0 , 0.05 );
2934
3035 .adsbygoogle {
36+ width : 100% ; // lăsăm Google să își regleze dimensiunea
3137 max-width : 100% ;
32- width : 100% ;
3338 overflow : hidden ;
39+ display : block ;
3440 }
3541 }
3642 }
4147}
4248
4349#panel-wrapper {
44- /* the headings */
4550 .panel-heading {
4651 font-family : inherit ;
4752 line-height : inherit ;
48-
4953 @include mx .label (inherit );
5054 }
5155
You can’t perform that action at this time.
0 commit comments