File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
ts/components/leftpane/conversation-list-item Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 321
321
322
322
.module-conversation-list-item__header__name {
323
323
flex-grow : 1 ;
324
- flex-shrink : 1 ;
324
+ flex-shrink : 1000 ; // we need this to take all the shrinking instead of the ListItemIcons
325
325
font-size : 14px ;
326
326
line-height : 18px ;
327
327
Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ const NotificationSettingIcon = () => {
36
36
iconType = "mute"
37
37
iconColor = { 'var(--conversation-tab-text-color)' }
38
38
iconSize = "small"
39
+ style = { { flexShrink : 0 } }
39
40
/>
40
41
) ;
41
42
case 'mentions_only' :
@@ -44,6 +45,7 @@ const NotificationSettingIcon = () => {
44
45
iconType = "bell"
45
46
iconColor = { 'var(--conversation-tab-text-color)' }
46
47
iconSize = "small"
48
+ style = { { flexShrink : 0 } }
47
49
/>
48
50
) ;
49
51
default :
@@ -63,7 +65,12 @@ const PinIcon = () => {
63
65
const isPinned = useIsPinned ( conversationId ) ;
64
66
65
67
return isPinned ? (
66
- < SessionIcon iconType = "pin" iconColor = { 'var(--conversation-tab-text-color)' } iconSize = "small" />
68
+ < SessionIcon
69
+ iconType = "pin"
70
+ iconColor = { 'var(--conversation-tab-text-color)' }
71
+ iconSize = "small"
72
+ style = { { flexShrink : 0 } }
73
+ />
67
74
) : null ;
68
75
} ;
69
76
@@ -100,6 +107,7 @@ const MentionAtSymbol = styled.span`
100
107
min-width: 16px;
101
108
border-radius: 8px;
102
109
cursor: pointer;
110
+ flex-shrink: 0;
103
111
104
112
&:hover {
105
113
filter: grayscale(0.7);
You can’t perform that action at this time.
0 commit comments