-
Notifications
You must be signed in to change notification settings - Fork 298
Expand file tree
/
Copy pathindex.scss
More file actions
128 lines (106 loc) · 2.32 KB
/
index.scss
File metadata and controls
128 lines (106 loc) · 2.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
@layer stream, stream-new, stream-overrides, stream-app-overrides;
@import url('./stream-imports-theme.scss') layer(stream);
@import url('./stream-imports-layout.scss') layer(stream);
// v3 CSS import
@import url('stream-chat-react/dist/css/index.css') layer(stream-new);
@import url('./AppSettings/AppSettings.scss') layer(stream-app-overrides);
:root {
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
body {
margin: 0;
}
#root {
display: flex;
height: 100vh;
}
@layer stream-overrides {
.str-chat {
height: 100%;
width: 100%;
}
.str-chat__chat-view,
.str-chat__chat-view-channels,
.str-chat__channel,
.str-chat__window {
min-height: 0;
}
.str-chat__chat-view {
height: 100%;
container-type: inline-size;
}
.str-chat__chat-view-channels {
height: 100%;
gap: 0;
}
.str-chat__channel-list {
flex: 0 0 300px;
max-width: 300px;
height: 100%;
}
.str-chat__main-panel {
height: 100%;
align-items: stretch;
}
.str-chat__main-panel-inner {
width: 100%;
height: 100%;
max-width: none;
}
.str-chat__window {
height: 100%;
}
.str-chat__channel-header,
.str-chat__thread-header {
width: 100%;
max-width: none;
}
.str-chat__message-list-scroll {
width: 100%;
max-width: none;
}
.str-chat__list,
.str-chat__virtual-list {
display: block;
scrollbar-gutter: stable;
scrollbar-width: thin;
}
.str-chat__message-input {
width: 100%;
//max-width: none;
}
.str-chat__thread-list-container,
.str-chat__thread-container {
flex: 0 0 360px;
max-width: 360px;
}
.str-chat__chat-view__threads {
.str-chat__thread-container {
flex: 1 1 auto;
min-width: 360px;
max-width: none;
}
}
@media (max-width: 1100px) {
.str-chat__container:has(.str-chat__thread-container) > .str-chat__main-panel {
width: 0;
min-width: 0;
flex: 0 0 0;
overflow: hidden;
}
.str-chat__container:has(.str-chat__thread-container) > .str-chat__thread-container {
flex: 1 1 auto;
min-width: 360px;
max-width: none;
}
}
@container (max-width: 760px) {
.str-chat__channel-list,
.str-chat__chat-view__selector {
display: none;
}
}
}