File tree Expand file tree Collapse file tree
src/components/userCombat Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -60,9 +60,9 @@ function getEffectDesc(desc: string): string {
6060 display : flex ;
6161 width : fit-content ;
6262 box-sizing : border-box ;
63+ flex : 2 ;
6364 flex-direction : column ;
64- flex-shrink : 0 ;
65- align-items : center ;
65+ align-items : flex-start ;
6666 justify-content : flex-start ;
6767 padding : 8px ;
6868 border : 1px solid var (--common-shadow-1 );
@@ -156,6 +156,6 @@ function getEffectDesc(desc: string): string {
156156 position : relative ;
157157 display : block ;
158158 font-size : 10px ;
159- white-space : pre ;
159+ white-space : pre-wrap ;
160160}
161161 </style >
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ const props = defineProps<TucCardBoxProps>();
3131 display : flex ;
3232 width : 100% ;
3333 box-sizing : border-box ;
34+ flex : 1 ;
3435 flex-direction : column ;
3536 align-items : flex-start ;
3637 justify-content : flex-start ;
@@ -95,5 +96,6 @@ const props = defineProps<TucCardBoxProps>();
9596 position : relative ;
9697 flex-shrink : 0 ;
9798 font-size : 12px ;
99+ word-break : break-all ;
98100}
99101 </style >
You can’t perform that action at this time.
0 commit comments