Skip to content

Commit d7ebe50

Browse files
committed
fixed buttons trigger
1 parent df92275 commit d7ebe50

File tree

19 files changed

+1462
-228
lines changed

19 files changed

+1462
-228
lines changed

draceditor/static/css/draceditor.css

Lines changed: 51 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,52 @@
1+
/* This if inside django admin */
2+
.submit-row a {
3+
box-sizing: content-box;
4+
}
5+
16
.main-draceditor {
27
max-width: 100%;
38
position: relative;
49
margin: 10px 0;
510
max-height: 700px;
611
}
12+
.draceditor-toolbar {
13+
clear: both;
14+
padding: 10px;
15+
background-color: #fff;
16+
box-shadow: 0 2px 2px #ddd;
17+
-webkit-box-shadow: 0 2px 2px #ddd;
18+
-moz-box-shadow: 0 2px 2px #ddd;
19+
-o-box-shadow: 0 2px 2px #ddd;
20+
-ms-box-shadow: 0 2px 2px #ddd;
21+
border-top: 1px solid #f9f9f9;
22+
margin-bottom: 2px;
23+
}
24+
.draceditor-toolbar .ui.icon .markdown-image-upload {
25+
position: relative;
26+
overflow: hidden;
27+
}
28+
.draceditor-toolbar .ui.icon .markdown-image-upload input[type=file] {
29+
position: absolute;
30+
top: 0;
31+
right: 0;
32+
min-width: 100%;
33+
min-height: 100%;
34+
font-size: 25px;
35+
padding: 0;
36+
padding-left: 35px;
37+
text-align: right;
38+
filter: alpha(opacity=0);
39+
opacity: 0;
40+
outline: none;
41+
cursor: inherit;
42+
display: block;
43+
}
44+
45+
.section-draceditor {
46+
position: relative;
47+
}
48+
49+
750
.draceditor {
851
height: 500px;
952
max-height: 500px;
@@ -38,7 +81,14 @@
3881
left: 0;
3982
}
4083
}
41-
84+
#emoji-loader-init {
85+
padding: 5em;
86+
}
87+
.insert-emoji {
88+
cursor: pointer;
89+
white-space: nowrap;
90+
}
91+
.marked-emoji,
4292
.main-draceditor .markdown-preview .marked-emoji {
4393
max-width: 20px;
4494
}

0 commit comments

Comments
 (0)