File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9797/* --- facet pills: the backlog, scannable by colour --------------------- */
9898.facets {color : var (--muted );font-size : .85em }
9999.tags {display : block;margin-top : .32rem ;line-height : 1.9 }
100- .pill {display : inline-block;padding : .06em .5em ;border-radius : 999px ;
100+ /* A pill is a LABEL, and a label that will not fit is elided, never allowed
101+ to push the page sideways. `nowrap` is what makes a chip read as a chip, so
102+ it is also the one thing the page-wide wrap guard above cannot reach: an
103+ over-long value (a board handing a whole log sentence to a facet) used to
104+ run a chip a thousand pixels wide. The row's prose carries the meaning; the
105+ chip carries the word. `vertical-align:bottom` because `overflow:hidden`
106+ moves an inline-block's baseline to its bottom edge. */
107+ .pill {display : inline-block;max-width : 100% ;padding : .06em .5em ;border-radius : 999px ;
101108 font-size : .74em ;font-weight : 650 ;letter-spacing : .015em ;white-space : nowrap;
102- vertical-align : .09em ;border : 1px solid var (--edge );background : var (--tint );
109+ overflow : hidden;text-overflow : ellipsis;
110+ vertical-align : bottom;border : 1px solid var (--edge );background : var (--tint );
103111 color : var (--accent )}
104112.pill + .pill {margin-left : .28rem }
105113.pill .n {border-color : var (--line );background : var (--btn );color : var (--muted )}
You can’t perform that action at this time.
0 commit comments