File tree Expand file tree Collapse file tree 1 file changed +21
-5
lines changed
frontend-next-migration/src/preparedPages/NewsPages/ui/NewsElementPage/ui Expand file tree Collapse file tree 1 file changed +21
-5
lines changed Original file line number Diff line number Diff line change 1010 align-items : center ;
1111 justify-content : center ;
1212 row-gap : 1rem ;
13+ padding-inline : 5em ;
14+ }
15+
16+ @media (max-width : breakpoint (md )) {
17+ .NewsElementPage {
18+ padding-inline : 1em ;
19+ align-items : stretch ;
20+ }
1321}
1422
1523.navButtons {
8795 margin : 0 auto ;
8896 @media (max-width : breakpoint (md )) {
8997 font : var (--font-sw-l );
98+ text-align : left ;
9099 }
91100}
92101
99108 margin : 0 auto ;
100109 @media (max-width : breakpoint (md )) {
101110 font : var (--font-sw-m );
111+ text-align : left ;
102112 }
103113}
104114
105115.text {
106116 color : var (--white );
107117 font : var (--font-dm-m );
108118 line-height : 28px ;
109- padding : 10px 5 em ;
119+ padding : 10px 0 ;
110120 text-align : left ;
111- width : 80 % ;
121+ width : 100 % ;
112122 white-space : pre-line ;
113123}
114124
115125@media (max-width : breakpoint (md )) {
116126 .text {
117- padding : 10px 1em ;
118- width : 98% ;
127+ text-align : left ;
119128 }
120129}
121130
158167 padding : 0 40px 20px 40px ;
159168 width : 100% ;
160169 gap : 16px ;
170+ @media (max-width : breakpoint (md )) {
171+ justify-content : flex-start ;
172+ padding : 0 0 20px 0 ;
173+ flex-direction : column ;
174+ align-items : flex-start ;
175+ gap : 4px
176+ }
161177}
162178
163179.shareButton {
164180 color : var (--primary-color );
165181 display : flex ;
166182 align-items : center ;
167183 align-self : flex-start ;
168- padding : 0 5 em ;
184+ padding : 0 ;
169185 margin-top : 16px ;
170186}
171187
You can’t perform that action at this time.
0 commit comments