File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,6 +38,8 @@ footer {
3838 & :focus {
3939 outline-color : rgba ($white , 0.8 );
4040 outline-offset : 2px ;
41+ // `outline-offset` is not applied on Chrome on Windows, if `outline-style` is `auto.
42+ outline-style : solid ;
4143 }
4244 }
4345
Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ section#intro {
133133 box-sizing : border-box ;
134134 transition : all 0.3s ease-in ;
135135
136- @media (max-width : 992 px ) {
136+ @media (max-width : 991 px ) {
137137 flex-direction : column ;
138138 text-align : center ;
139139 padding : 32px 16px ;
Original file line number Diff line number Diff line change @@ -96,10 +96,13 @@ aio-shell.folder-tutorial mat-toolbar.mat-toolbar {
9696.nav-link.home {
9797 cursor : pointer ;
9898 margin : 0 16px 0 0 ;
99-
99+ padding : 8px 0 ;
100+
100101 & :focus {
101102 outline-color : $focus-outline-ondark ;
102103 outline-offset : 4px ;
104+ // `outline-offset` is not applied on Chrome on Windows, if `outline-style` is `auto.
105+ outline-style : solid ;
103106 }
104107
105108 @media screen and (max-width : 480px ) {
@@ -112,7 +115,7 @@ aio-shell.folder-tutorial mat-toolbar.mat-toolbar {
112115 top : 12px ;
113116 height : 40px ;
114117
115- @media (max-width : 992 px ) {
118+ @media (max-width : 991 px ) {
116119 & :hover {
117120 transform : scale (1.1 );
118121 }
@@ -147,7 +150,7 @@ aio-top-menu {
147150
148151 a .nav-link {
149152 margin : 0 4px ;
150- padding : 0 px ;
153+ padding : 24 px 0 ;
151154 cursor : pointer ;
152155
153156 .nav-link-inner {
@@ -163,7 +166,6 @@ aio-top-menu {
163166 outline : none ;
164167
165168 .nav-link-inner {
166- background : rgba ($white , 0.15 );
167169 border-radius : 1px ;
168170 box-shadow : 0 0 1px 2px $focus-outline-ondark ;
169171 }
@@ -188,7 +190,7 @@ aio-search-box.search-container {
188190 width : 100% ;
189191 min-width : 150px ;
190192 height : 100% ;
191- margin-right : 16 px ;
193+ margin-right : 10 px ;
192194
193195 input {
194196 color : $darkgray ;
@@ -240,10 +242,11 @@ aio-search-box.search-container {
240242 & :focus {
241243 outline-color : $focus-outline-ondark ;
242244 outline-offset : -16px ;
245+ outline-style : solid ;
243246 }
244247
245248 @media screen and (max-width : 480px ) {
246- margin-left : 8px ;
249+ margin-left : 0 0 0 8px ;
247250 padding : 0 ;
248251 }
249252
Original file line number Diff line number Diff line change @@ -40,7 +40,8 @@ describe('site auto-scrolling', () => {
4040 expect ( await page . getScrollTop ( ) ) . not . toBe ( 0 ) ;
4141
4242 await page . docsMenuLink . click ( ) ;
43- expect ( await page . getScrollTop ( ) ) . toBe ( 0 ) ;
43+ // On some environment (e.g. CI) it takes some time for the page to load (and scroll to top).
44+ await browser . wait ( async ( ) => await page . getScrollTop ( ) === 0 , 1000 ) ;
4445 } ) ;
4546
4647 it ( 'should scroll to top when navigating to the same page via a link' , async ( ) => {
You can’t perform that action at this time.
0 commit comments