Repository navigation
Commit a7189d2
authored
fix(ui): restore scrollbar in skill workshop board mode (#108197)
The flex height constraint chain was broken at three points in the
board-mode layout, preventing both the proposal queue and detail
body from scrolling:
1. .sw-hub-panel > .skill-workshop used a > child selector but
.skill-workshop is nested inside an inner wa-tab-panel wrapper,
so the rule never matched. Switched to a descendant selector.
2. #skill-workshop-mode-panel (the inner tab panel) had no flex
styles, defaulting to display:block which cannot pass through
flex height constraints. Added explicit flex container styles.
3. The wa-tab-panel shadow-DOM part(base) wrapper also needs flex
overrides to fill the host height. Added part selectors with
display:flex, flex:1, min-height:0, and width:100% to preserve
full-width block behavior for non-flex children like the
history scan banner.
Also added flex-shrink:0 to .sw-history so the banner does not
collapse when .skill-workshop receives a definite height.
Fixes #1081961 parent 7bf6bf3 commit a7189d2
1 file changed
Lines changed: 25 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
50 | 68 | | |
51 | 69 | | |
52 | 70 | | |
| |||
1025 | 1043 | | |
1026 | 1044 | | |
1027 | 1045 | | |
1028 | | - | |
| 1046 | + | |
| 1047 | + | |
1029 | 1048 | | |
1030 | 1049 | | |
1031 | 1050 | | |
| |||
1035 | 1054 | | |
1036 | 1055 | | |
1037 | 1056 | | |
| 1057 | + | |
1038 | 1058 | | |
1039 | 1059 | | |
1040 | 1060 | | |
| |||
0 commit comments