-
Notifications
You must be signed in to change notification settings - Fork 565
Expand file tree
/
Copy pathbase.css
More file actions
53 lines (44 loc) · 775 Bytes
/
base.css
File metadata and controls
53 lines (44 loc) · 775 Bytes
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
.tiptap-root {
height: 100%;
display: flex;
flex-direction: column;
}
.tiptap-root .tiptap {
flex: 1 1 auto;
min-height: 100%;
}
.tiptap {
word-break: break-word;
overflow-wrap: break-word;
white-space: pre-wrap;
hyphens: auto;
padding-bottom: 24px;
caret-color: #374151;
min-height: 100%;
:first-child {
margin-top: 0;
}
/* focus states */
&:focus {
outline: none;
box-shadow: none;
}
p {
margin-bottom: 0.25rem;
}
.tiptap-image-wrapper {
padding-top: 0.5rem;
padding-bottom: 0.5rem;
}
> .tiptap-image-wrapper:first-child {
padding-top: 0;
}
> .tiptap-image-wrapper:last-child {
padding-bottom: 0;
}
.tiptap-image {
max-width: 100%;
height: auto;
display: block;
}
}