Commit ff253d7
committed
fix(panel): tools tab non-draggable and always shows icon+text
- Make the default panel (Tools) tab non-draggable: set draggable="false"
on the tab, reject dragstart on it, and reject it as a drop target
- Add bottom-panel-tab-default class to identify the Tools tab in CSS
- Always show the icon alongside the title for the Tools tab in both
expanded and collapsed modes (other tabs show icons only when collapsed)
- In collapsed mode, the Tools tab keeps its natural width with title
visible instead of collapsing to a fixed icon-only width1 parent fe9a6ad commit ff253d7
2 files changed
Lines changed: 39 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
169 | 176 | | |
170 | 177 | | |
171 | 178 | | |
| |||
240 | 247 | | |
241 | 248 | | |
242 | 249 | | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
243 | 259 | | |
244 | 260 | | |
245 | 261 | | |
| |||
301 | 317 | | |
302 | 318 | | |
303 | 319 | | |
| 320 | + | |
| 321 | + | |
304 | 322 | | |
305 | 323 | | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
306 | 329 | | |
307 | 330 | | |
308 | 331 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
152 | | - | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
153 | 157 | | |
154 | 158 | | |
155 | 159 | | |
| |||
288 | 292 | | |
289 | 293 | | |
290 | 294 | | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
291 | 300 | | |
292 | 301 | | |
293 | 302 | | |
| |||
302 | 311 | | |
303 | 312 | | |
304 | 313 | | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
305 | 318 | | |
306 | 319 | | |
307 | 320 | | |
| |||
766 | 779 | | |
767 | 780 | | |
768 | 781 | | |
769 | | - | |
770 | | - | |
| 782 | + | |
| 783 | + | |
771 | 784 | | |
772 | 785 | | |
773 | 786 | | |
| |||
0 commit comments