File tree Expand file tree Collapse file tree 3 files changed +17
-6
lines changed
special-pages/pages/new-tab/app/favorites/components Expand file tree Collapse file tree 3 files changed +17
-6
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ export const ROW_CAPACITY = 6;
2323/**
2424 * Note: These values MUST match exactly what's defined in the CSS.
2525 */
26- const ITEM_HEIGHT = 90 ;
26+ const ITEM_HEIGHT = 96 ;
2727const ROW_GAP = 8 ;
2828
2929/**
Original file line number Diff line number Diff line change @@ -116,9 +116,7 @@ export function FavoritesProvider({ children }) {
116116 ( cb ) => {
117117 if ( ! service . current ) return ;
118118 return service . current . onConfig ( ( event ) => {
119- if ( event . source === 'manual' ) {
120- cb ( event . data ) ;
121- }
119+ cb ( event . data ) ;
122120 } ) ;
123121 } ,
124122 [ service ] ,
Original file line number Diff line number Diff line change 88 outline : none;
99 padding-left : var (--sp-3 );
1010 padding-right : var (--sp-3 );
11+ height : 96px ;
1112
1213 & : focus-visible .icon {
1314 box-shadow : var (--focus-ring );
3334 justify-items : center;
3435 width : var (--icon-width );
3536 height : var (--icon-width );
36- margin-bottom : 4 px ;
37+ margin-bottom : 6 px ;
3738 border-radius : var (--border-radius-lg );
3839}
3940
8889 height : calc (32 * var (--px-in-rem ));
8990 width : calc (32 * var (--px-in-rem ));
9091 }
92+
93+ /*&[data-state="loading favicon-src"] {*/
94+ /* outline: 1px solid blue;*/
95+ /*}*/
96+
97+ /*&[data-state="did load favicon-src"] {*/
98+ /* outline: 1px solid green;*/
99+ /*}*/
100+
101+ /*&[data-state="did load fallback"] {*/
102+ /* outline: 1px dotted orange;*/
103+ /*}*/
91104}
92105
93106.text {
94107 width : var (--icon-width );
95108 text-align : center;
96109 font-size : calc (10 * var (--px-in-rem ));
97- line-height : 1.1 ;
110+ line-height : calc ( 13 * var ( --px-in-rem )) ;
98111 font-weight : 400 ;
99112 overflow : hidden;
100113 text-overflow : ellipsis;
You can’t perform that action at this time.
0 commit comments