Commit 333e1e4
committed
fix: prevent token stats overflow in narrow windows
- Removed flex-wrap from token stats container to keep items on single line
- Added flexShrink: 0 to prevent badge and stats from shrinking
- Added whiteSpace: nowrap to maintain single-line display
- Grouped cost badge and token stats in separate container for better layout control
- Added minWidth: 0 to parent container for proper text truncation
This fixes the UI overflow issue where the price would break into two lines
and overflow the gray box in narrow window widths.1 parent 643da52 commit 333e1e4
1 file changed
+39
-23
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1122 | 1122 | | |
1123 | 1123 | | |
1124 | 1124 | | |
1125 | | - | |
| 1125 | + | |
| 1126 | + | |
| 1127 | + | |
| 1128 | + | |
| 1129 | + | |
| 1130 | + | |
| 1131 | + | |
| 1132 | + | |
1126 | 1133 | | |
1127 | 1134 | | |
1128 | | - | |
1129 | | - | |
1130 | | - | |
1131 | | - | |
1132 | | - | |
1133 | | - | |
1134 | | - | |
1135 | | - | |
1136 | | - | |
1137 | | - | |
1138 | | - | |
1139 | | - | |
1140 | | - | |
1141 | | - | |
1142 | | - | |
1143 | | - | |
| 1135 | + | |
| 1136 | + | |
| 1137 | + | |
| 1138 | + | |
| 1139 | + | |
| 1140 | + | |
| 1141 | + | |
| 1142 | + | |
| 1143 | + | |
| 1144 | + | |
| 1145 | + | |
1144 | 1146 | | |
1145 | | - | |
1146 | | - | |
| 1147 | + | |
| 1148 | + | |
| 1149 | + | |
1147 | 1150 | | |
1148 | | - | |
1149 | | - | |
1150 | | - | |
1151 | | - | |
| 1151 | + | |
| 1152 | + | |
| 1153 | + | |
| 1154 | + | |
| 1155 | + | |
| 1156 | + | |
| 1157 | + | |
| 1158 | + | |
| 1159 | + | |
| 1160 | + | |
| 1161 | + | |
| 1162 | + | |
| 1163 | + | |
| 1164 | + | |
| 1165 | + | |
| 1166 | + | |
| 1167 | + | |
1152 | 1168 | | |
1153 | 1169 | | |
1154 | 1170 | | |
| |||
0 commit comments