File tree Expand file tree Collapse file tree 4 files changed +16
-13
lines changed
containers/PageConstructor/__stories__ Expand file tree Collapse file tree 4 files changed +16
-13
lines changed Original file line number Diff line number Diff line change 140140 "header" : {
141141 "leftItems" : [
142142 {
143- "text" : " Dropdown1 " ,
143+ "text" : " Dropdown 1 " ,
144144 "type" : " dropdown" ,
145145 "items" : [
146146 {
147- "text" : " Lorem ipsum " ,
147+ "text" : " Lorem ipsum" ,
148148 "url" : " https://example.com" ,
149149 "type" : " link"
150150 },
188188 ]
189189 },
190190 {
191- "text" : " Link1 " ,
191+ "text" : " Link with spaces " ,
192192 "url" : " https://example.com" ,
193193 "icon" : " https://storage.yandexcloud.net/cloud-www-assets/constructor/storybook/images/icon_3_light.svg"
194194 },
Original file line number Diff line number Diff line change @@ -33,7 +33,9 @@ $block: '.#{$ns}header';
3333 }
3434
3535 & __mobile-menu-button {
36- @include mobile-tablet-only ();
36+ @include add-specificity (&) {
37+ @include mobile-tablet-only ();
38+ }
3739 }
3840
3941 & __navigation ,
@@ -44,13 +46,15 @@ $block: '.#{$ns}header';
4446 }
4547
4648 & __navigation {
47- position : relative ;
48- margin-right : $normalOffset ;
49+ @include add-specificity (&) {
50+ position : relative ;
51+ margin-right : $normalOffset ;
4952
50- flex : 1 0 0 ;
51- justify-content : flex-start ;
53+ flex : 1 0 0 ;
54+ justify-content : flex-start ;
5255
53- @include desktop-only ();
56+ @include desktop-only ();
57+ }
5458 }
5559
5660 & __right {
Original file line number Diff line number Diff line change @@ -7,10 +7,6 @@ $block: '.#{$ns}logo';
77 display : flex ;
88 align-items : center ;
99
10- font-weight : var (--yc-text-accent-font-weight );
11-
12- @include heading4 ();
13-
1410 & __icon {
1511 display : flex ;
1612 margin-right : $indentXXXS ;
@@ -19,6 +15,8 @@ $block: '.#{$ns}logo';
1915 }
2016
2117 & __text {
18+ @include heading4 ();
19+
2220 white-space : nowrap ;
2321 }
2422}
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ $block: '.#{$ns}navigation-item';
88
99 display : flex ;
1010 align-items : center ;
11+ white-space : nowrap ;
1112
1213 & _type_link {
1314 @include navigation-item ();
You can’t perform that action at this time.
0 commit comments