Commit 12fb0fa0 authored by Corentin Bettiol's avatar Corentin Bettiol 💻

update css of contenteditable box in wysiwyg module

parent bc4d794d
......@@ -149,10 +149,11 @@ a:hover{
}
#editContent{
width: 100%;
margin-top: 5px;
min-height: 1em;
max-height: 10em;
min-height: 15em;
overflow: scroll;
resize: both;
white-space: pre-wrap;
display: inline-block;
}
......@@ -194,9 +195,6 @@ input, textarea, .wysiwyg{
background-color: #ccc;
}
#editContent{
width: 100%;
}
input:hover, input:focus, textarea:hover, textarea:focus{
border-left: 3px solid #ccc;
......
......@@ -20,12 +20,11 @@ article .postInfos{font-size:.8em}
#footer{width:98%;padding:1%;margin:auto;font-size:.8em;text-align:center;background-color:#f0f0f0}
a{transition:color .3s}
a:hover{color:#55a;transition:color .3s}
#editContent{margin-top:5px;min-height:1em;max-height:10em;overflow:scroll;white-space:pre-wrap;display:inline-block}
#editContent{width:100%;margin-top:5px;min-height:15em;overflow:scroll;resize:both;white-space:pre-wrap;display:inline-block}
input,textarea,.wysiwyg{width:50%;border:none;padding:10px;display:block;font-size:1em;margin:15px auto;padding-left:13px;box-sizing:border-box;background-color:#fff;border-left:0 solid #ccc;border-bottom:3px solid #aaa;transition:border-left 0.05s,padding-left .05s}
.input input,.input textarea,.wysiwyg{margin:0 0 0 20px}
.wysiwyg{display:flex;align-items:center;flex-direction:column}
.wysiwyg button{border:none;padding:2px;font-size:1em;margin:0 2px;cursor:pointer;min-width:20px;text-align:center;display:inline-block;background-color:#ccc}
#editContent{width:100%}
input:hover,input:focus,textarea:hover,textarea:focus{border-left:3px solid #ccc;transition:border-left .05s}
input[type="submit"]{border:none;padding-left:13px;background-color:#ccc;transition:background-color .3s}
input[type="submit"]:hover{background-color:#ddd;transition:background-color .3s}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment