File tree Expand file tree Collapse file tree
apps/docs/src/containers/theme-studio Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -396,18 +396,18 @@ export function MailPreview(): React.ReactElement {
396396 < Split min = { 320 } max = { 360 } defaultSize = "42%" className = "theme-studio__mail-split" >
397397 < Card className = "theme-studio__mail-panel" >
398398 < Card . Content >
399- < div className = "theme-studio__mail-panel-head" >
399+ < Flex justify = "space-between" className = "theme-studio__mail-panel-head" >
400400 < Heading level = { 3 } > { folderLabels [ activeFolder ] } </ Heading >
401401 < Segmented
402- size = "sm "
402+ size = "md "
403403 value = { activeFilter }
404404 options = { [
405405 { label : 'All mail' , value : 'all' } ,
406406 { label : 'Unread' , value : 'unread' } ,
407407 ] }
408408 onChange = { ( value ) => setActiveFilter ( String ( value ) as MailFilter ) }
409409 />
410- </ div >
410+ </ Flex >
411411
412412 < div className = "theme-studio__mail-search-wrap" >
413413 < Input
Original file line number Diff line number Diff line change 17561756}
17571757
17581758.theme-studio__mail-panel-head {
1759- justify-content : space-between ;
1760- align-items : center ;
1761- gap : 10px ;
1762- flex-wrap : wrap ;
1763- padding : 12px 16px ;
1759+ padding : 20px 16px ;
17641760 border-bottom : 1px solid var (--editor-border );
17651761}
17661762
17671763.theme-studio__mail-panel-head .ty-typography {
17681764 margin : 0 ;
1765+ flex : 1 1 auto ;
1766+ min-width : 0 ;
17691767 font-size : 20px ;
17701768 font-weight : 700 ;
17711769 line-height : 1.4 ;
17721770 letter-spacing : -0.01em ;
17731771}
17741772
1773+ .theme-studio__mail-panel-head .ty-segmented {
1774+ flex : 0 0 auto ;
1775+ }
1776+
17751777.theme-studio__mail-search-wrap {
17761778 padding : 12px 16px ;
17771779}
You can’t perform that action at this time.
0 commit comments