@@ -743,8 +743,11 @@ openclaw-workboard-mini-widget {
743743
744744@media ( hover : hover) and ( pointer : fine) {
745745 /* Focus keeps keyboard actions reachable; menu-open and dragging keep chrome
746- pinned when interaction leaves the card bounds. */
746+ pinned when interaction leaves the card bounds. Inline-size containment
747+ lets the pill drop to its minimal form on narrow cards; grid tracks set
748+ the card's width, so containment changes no layout. */
747749 . board-widget {
750+ container-type : inline-size;
748751 grid-template-rows : minmax ( 0 , 1fr ) ;
749752 }
750753
@@ -764,7 +767,8 @@ openclaw-workboard-mini-widget {
764767 /* Reserve a widget-owned top-right action region: the interactive pill may
765768 never stretch across the card, or it re-intercepts the exact corner this
766769 chrome exists to keep clickable. The 88px floor keeps the drag handle and
767- menu usable on very narrow widgets, trading reservation width there. */
770+ menu usable on very narrow widgets; below 184px the container query strips
771+ the pill to that irreducible pair so the reservation stays maximal. */
768772 max-width : max ( 88px , calc ( 100% - 96px ) ) ;
769773 opacity : 0 ;
770774 padding : 0 5px ;
@@ -794,6 +798,18 @@ openclaw-workboard-mini-widget {
794798 overflow : hidden;
795799 }
796800
801+ /* Below 184px the 96px reservation and the 88px pill cannot coexist, so the
802+ pill sheds its display-only pieces and keeps just move + menu — the two
803+ controls without which a widget cannot be managed. The card's aria-label
804+ and the drag handle tooltip still carry the title. */
805+ @container ( max-width: 184px) {
806+ . board-widget__bar > . board-widget__title ,
807+ . board-widget__bar > . board-widget__kind ,
808+ . board-widget__bar > . board-widget__capabilities {
809+ display : none;
810+ }
811+ }
812+
797813 . board-widget__resize-handle {
798814 opacity : 0 ;
799815 transition :
0 commit comments