-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Expand file tree
/
Copy pathCodeBlockContent.module.css
More file actions
38 lines (34 loc) · 1.04 KB
/
CodeBlockContent.module.css
File metadata and controls
38 lines (34 loc) · 1.04 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
:global(.webchat) .code-block-content {
border-block: var(--webchat__border-width--bubble) var(--webchat__border-style--bubble)
var(--webchat__border-color--bubble);
border-radius: var(--webchat__border-radius--bubble);
display: block;
font-family: var(--webchat__font--primary);
font-size: 14px;
font-style: normal;
font-weight: 400;
margin-block-end: calc(var(--webchat__border-width--bubble) * -1);
overflow: hidden;
overflow: clip;
position: relative;
}
:global(.webchat) .code-block-content__header {
align-items: center;
display: flex;
gap: var(--webchat__padding--regular);
justify-content: space-between;
padding: var(--webchat__padding--regular);
}
:global(.webchat) .code-block-content__title {
font-weight: 600;
&::first-letter {
text-transform: uppercase;
}
}
:global(.webchat) .code-block-content__code-block {
border: none;
margin: 0;
max-height: 360px;
overflow-y: auto;
padding: var(--webchat__padding--regular) 8px var(--webchat__padding--regular) var(--webchat__padding--regular);
}