File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 99 height : var (--avatar_size );
1010 border-radius : calc (var (--avatar_size ) / 2 );
1111 display : inline-flex;
12+ flex-shrink : 0 ;
1213 align-items : center;
1314 justify-content : center;
1415 background-color : transparent; /* Don't use a color when we don't yet know if there's an image loading */
Original file line number Diff line number Diff line change 2727 align-items : center;
2828 gap : 0.5rem ;
2929 transition : background 0.2s ;
30+
31+ container-type : inline-size;
32+ container-name : profile-snippet;
3033}
3134
3235.profile-snippet .profile-snippet_text {
7881 overflow : hidden;
7982 white-space : nowrap;
8083}
84+
85+ @container profile-snippet (max-width : 300px ) {
86+ .profile-snippet_text {
87+ flex-direction : column;
88+ align-items : flex-start;
89+ gap : 0rem ;
90+
91+ & .profile-snippet_handle {
92+ --c-size_profile-snippet_handle : var (--font-size-extra-small );
93+ }
94+ }
95+ }
You can’t perform that action at this time.
0 commit comments