File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 630630 padding : 0 16px ;
631631 overflow : hidden;
632632 border : 1.25px solid var (--line-strong );
633- border-radius : 10 px ;
633+ border-radius : 999 px ;
634634 display : inline-flex;
635635 align-items : center;
636636 justify-content : center;
@@ -669,13 +669,18 @@ h1 {
669669}
670670
671671.button .primary {
672- justify-content : space-between ;
672+ justify-content : center ;
673673 border-color : var (--black );
674674 background : var (--black );
675675 color : var (--white );
676676 box-shadow : 0 14px 30px rgba (0 , 0 , 0 , 0.12 );
677677}
678678
679+ .button .primary > [aria-hidden = "true" ] {
680+ position : absolute;
681+ right : 18px ;
682+ }
683+
679684.button .secondary {
680685 background : rgba (255 , 255 , 255 , 0.86 );
681686 color : var (--ink );
@@ -892,6 +897,14 @@ h1 {
892897 gap : 8px ;
893898}
894899
900+ .modal-actions .button {
901+ width : 100% ;
902+ min-width : 0 ;
903+ padding-right : 14px ;
904+ padding-left : 14px ;
905+ text-align : center;
906+ }
907+
895908.toast {
896909 position : fixed;
897910 left : 50% ;
Original file line number Diff line number Diff line change @@ -111,6 +111,10 @@ test('mobile share layout keeps one compact content flow with the primary action
111111 assert . match ( css , / \. s i t e - f o o t e r \s * \{ \s * d i s p l a y : \s * n o n e ; / ) ;
112112 assert . match ( css , / \. l a n g u a g e - t o g g l e : : b e f o r e / ) ;
113113 assert . match ( css , / b a c k g r o u n d - s i z e : \s * 6 4 p x 6 4 p x / ) ;
114+ assert . match ( css , / \. b u t t o n \s * \{ [ \s \S ] * ?b o r d e r - r a d i u s : \s * 9 9 9 p x / ) ;
115+ assert . match ( css , / \. b u t t o n \. p r i m a r y \s * \{ [ \s \S ] * ?j u s t i f y - c o n t e n t : \s * c e n t e r / ) ;
116+ assert . doesNotMatch ( css , / \. b u t t o n \. p r i m a r y \s * \{ [ \s \S ] * ?j u s t i f y - c o n t e n t : \s * s p a c e - b e t w e e n / ) ;
117+ assert . match ( css , / \. m o d a l - a c t i o n s \. b u t t o n \s * \{ [ \s \S ] * ?t e x t - a l i g n : \s * c e n t e r / ) ;
114118} ) ;
115119
116120test ( '404 fallback and controller cooperate to restore a clean path' , ( ) => {
You can’t perform that action at this time.
0 commit comments