File tree Expand file tree Collapse file tree
src/components/Message/styling Expand file tree Collapse file tree Original file line number Diff line number Diff line change 510510 display : flex ;
511511 flex-wrap : wrap ;
512512 align-items : center ;
513- margin-block-start : var (--str-chat__spacing-0_5 );
513+ height : var (--size-24 );
514514 color : var (--chat-text-timestamp );
515- font-size : var (--typography-font-size-xs ,);
516- font-weight : var (--typography-font-weight-regular );
517- line-height : var (--typography-line-height-tight );
515+
516+ * {
517+ font-size : var (--typography-font-size-xs ,);
518+ font-weight : var (--typography-font-weight-regular );
519+ line-height : var (--typography-line-height-tight );
520+ }
518521
519522 .str-chat__message-simple-name {
520523 @include utils .prevent-glitch-text-overflow ;
601604}
602605
603606.str-chat__message--pinned {
604- background-color : var (--str-chat__message-pinned-background-color );
607+ & ::before {
608+ content : ' ' ;
609+ display : block ;
610+ grid-column : 1 / -1 ;
611+ grid-row : 1 / 6 ; /* All areas except last row (metadata) */
612+ width : 100% ;
613+ min-width : 100% ;
614+ background-color : var (--str-chat__message-pinned-background-color );
615+ }
605616}
606617
607618/* This rule won't be applied in browsers that don't support :has() */
You can’t perform that action at this time.
0 commit comments