File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed
Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -106,12 +106,15 @@ export const Header: FC = observer(() => {
106106 ) }
107107 >
108108 < div
109- className = { classNames ( styles [ 'head-swiper' ] , 'justify-between' ) }
109+ className = { classNames (
110+ styles [ 'head-swiper' ] ,
111+ 'justify-between min-w-0' ,
112+ ) }
110113 ref = { appHeaderRef }
111114 >
112115 < div
113116 className = {
114- 'flex items-center justify-center cursor-pointer select-none'
117+ 'flex items-center justify-center cursor-pointer select-none min-w-0 '
115118 }
116119 onClick = { clickFunc }
117120 >
Original file line number Diff line number Diff line change 3939}
4040
4141.header-title-wrapper {
42- @apply flex flex-col ml-4 py-2 box-border justify-center;
42+ @apply flex flex-col ml-4 py-2 box-border justify-center min-w-0 ;
4343
4444 height : 4rem ;
4545}
4646
4747.title {
48- @apply relative inline-block text-xl font-medium mt-0 truncate flex-shrink-0;
48+ @apply relative inline-block text-xl font-medium mt-0 truncate flex-shrink-0 min-w-0 ;
4949
5050 & .title-has-sub {
5151 @apply text-lg;
5252 }
5353}
5454
5555.subtitle {
56- @apply text-sm text-gray-2;
56+ @apply text-sm text-gray-2 flex-1 min-w-0 truncate ;
5757
5858 margin-top : -0.3rem ;
5959}
You can’t perform that action at this time.
0 commit comments