File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
components/calendar/dialog Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 66 position : relative ;
77 display : flex ;
88 height : 100% ;
9- max-height : calc (100vh - 12 px );
9+ max-height : calc (100vh - 48 px );
1010
1111 .nav {
1212 display : flex ;
8282 padding : 0 24px ;
8383 overflow : auto ;
8484 height : 100% ;
85- width : 350px ;
86- min-height : 350px ;
85+ width : 400px ;
8786}
8887
8988@mixin header () {
Original file line number Diff line number Diff line change @@ -84,8 +84,8 @@ export default function DialogSurface({
8484 document . documentElement . clientHeight || 0 ,
8585 window . innerHeight || 0
8686 ) ;
87- if ( alignedCenter < 0 ) return PREVIEW_MARGIN ;
88- if ( alignedCenter + bounds . height > vh ) return vh - bounds . height - PREVIEW_MARGIN ;
87+ if ( alignedCenter < 24 ) return 24 ;
88+ if ( alignedCenter + bounds . height + 24 > vh ) return vh - bounds . height - 24 ;
8989 return alignedCenter ;
9090 } , [ alignedCenter , bounds . height ] ) ;
9191
You can’t perform that action at this time.
0 commit comments