File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "name" : " @compass/api" ,
3- "version" : " 1.44.0 " ,
3+ "version" : " 1.44.1 " ,
44 "private" : true ,
55 "description" : " Backend API endpoints" ,
66 "main" : " src/serve.ts" ,
Original file line number Diff line number Diff line change @@ -90,15 +90,16 @@ export const NewSearchAlertsEmail = ({
9090 t ,
9191 ) ?. join ( ' • ' ) }
9292 </ Text >
93- < div style = { { display : 'flex' , flexWrap : 'wrap' , gap : '8px' } } >
93+ < div style = { { fontSize : 0 } } >
9494 { match . matches . map ( ( p ) => (
9595 < Link
9696 key = { p . username }
9797 href = { `https://${ DOMAIN } /${ p . username } ` }
9898 style = { {
99- display : 'inline-flex' ,
100- alignItems : 'center' ,
101- gap : '12px' ,
99+ display : 'inline-block' ,
100+ verticalAlign : 'top' ,
101+ marginRight : '8px' ,
102+ marginBottom : '8px' ,
102103 padding : '7px 14px' ,
103104 maxWidth : '100%' ,
104105 boxSizing : 'border-box' ,
@@ -109,27 +110,58 @@ export const NewSearchAlertsEmail = ({
109110 textDecoration : 'none' ,
110111 } }
111112 >
112- { p . avatarUrl && (
113- < Img
114- src = { p . avatarUrl }
115- alt = { `${ p . username } avatar` }
116- width = { 40 }
117- height = { 40 }
118- style = { {
119- width : '40px' ,
120- height : '40px' ,
121- borderRadius : '9999px' ,
122- objectFit : 'cover' ,
123- flexShrink : 0 ,
124- } }
125- />
126- ) }
127- < span style = { { display : 'inline-flex' , flexDirection : 'column' } } >
128- < span style = { { color : '#1e1a14' , fontWeight : '600' , fontSize : '14px' } } >
129- { p . name }
130- </ span >
131- < span style = { { color : '#c17f3e' , fontSize : '12px' } } > @{ p . username } </ span >
132- </ span >
113+ < table
114+ role = "presentation"
115+ cellPadding = { 0 }
116+ cellSpacing = { 0 }
117+ border = { 0 }
118+ style = { { borderCollapse : 'collapse' } }
119+ >
120+ < tbody >
121+ < tr >
122+ { p . avatarUrl && (
123+ < td style = { { paddingRight : '12px' , verticalAlign : 'middle' } } >
124+ < Img
125+ src = { p . avatarUrl }
126+ alt = { `${ p . username } avatar` }
127+ width = { 40 }
128+ height = { 40 }
129+ style = { {
130+ width : '40px' ,
131+ height : '40px' ,
132+ borderRadius : '9999px' ,
133+ objectFit : 'cover' ,
134+ display : 'block' ,
135+ } }
136+ />
137+ </ td >
138+ ) }
139+ < td style = { { verticalAlign : 'middle' } } >
140+ < span
141+ style = { {
142+ display : 'block' ,
143+ color : '#1e1a14' ,
144+ fontWeight : '600' ,
145+ fontSize : '14px' ,
146+ lineHeight : '1.2' ,
147+ } }
148+ >
149+ { p . name }
150+ </ span >
151+ < span
152+ style = { {
153+ display : 'block' ,
154+ color : '#c17f3e' ,
155+ fontSize : '12px' ,
156+ lineHeight : '1.2' ,
157+ } }
158+ >
159+ @{ p . username }
160+ </ span >
161+ </ td >
162+ </ tr >
163+ </ tbody >
164+ </ table >
133165 </ Link >
134166 ) ) }
135167 </ div >
You can’t perform that action at this time.
0 commit comments