-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
52 lines (44 loc) · 988 Bytes
/
styles.css
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
body, html {
margin: 0;
padding: 0;
height: 100%;
overflow: hidden; /* 防止出现滚动条 */
}
.toast-container {
z-index: 1060; /* 确保吐司容器在编辑器上方 */
}
.fullscreen-div {
height: calc(100% - 30px); /* 减去底部栏的高度 */
overflow-y: auto; /* 允许编辑器内容滚动 */
position: relative;
z-index: 1040;
}
.bottom-bar {
z-index: 1050;
position: absolute;
bottom: 0;
width: 100%;
height: 30px;
background-color: #f0f0f0;
display: flex;
align-items: center;
padding: 0 10px; /* 添加左右内边距 */
box-sizing: border-box;
}
.bottom-bar button {
cursor: pointer;
}
.bottom-bar input[type="checkbox"] {
margin-right: 5px; /* 添加一些外边距 */
}
.bottom-bar label {
cursor: pointer; /* 让标签也有指针样式 */
}
#wordCount {
margin-left: auto;
margin-right: 10px;
}
.vditor-toolbar {
border-bottom: 0 solid #000;
height: 0;
}