File tree Expand file tree Collapse file tree 2 files changed +16
-4
lines changed
packages/component-library/src Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Original file line number Diff line number Diff line change 5252
5353 .itemHeader ,
5454 .itemDetailsItem {
55+ align-items : center ;
5556 display : flex ;
5657 flex-flow : row nowrap ;
57- align-items : center ;
58+ gap : theme . spacing ( 2 ); // give items a little breathing room if text is long
5859 justify-content : space-between ;
5960 }
6061
Original file line number Diff line number Diff line change 5050
5151 .description {
5252 color : theme .color (" muted" );
53- overflow : hidden ;
54- text-overflow : ellipsis ;
55-
53+ // this helps prevent long feed descriptions from looking gross
54+ // and overflowing off the page, pushing the curren values off the page,
55+ // too
56+ overflow : initial ;
57+ text-overflow : initial ;
58+ white-space : normal ;
59+
5660 @include theme .text (" xs" , " medium" );
61+
62+ // reset the above on large devices, to match when the price feeds grid switches over
63+ @include theme .breakpoint (" 2xl" ) {
64+ overflow : hidden ;
65+ text-overflow : ellipsis ;
66+ white-space : unset ;
67+ }
5768 }
5869 }
5970
You can’t perform that action at this time.
0 commit comments