File tree Expand file tree Collapse file tree 2 files changed +18
-10
lines changed Expand file tree Collapse file tree 2 files changed +18
-10
lines changed Original file line number Diff line number Diff line change @@ -348,7 +348,9 @@ function editNote(notediv) {
348
348
if ( matching ) {
349
349
html = `<div name=${ matching . noteid } class="editor" id="editpad">
350
350
<input name="title" type="text" id="title">
351
- <textarea style="margin-top: 20px;" name="notebody" id="notebody"></textarea>
351
+ <textarea name="notebody" id="notebody"></textarea>
352
+ </div>
353
+ <div class="editBtns">
352
354
<button onclick='update(this)' name="${ matching . noteid } " class="btn btnnote" style="float: left; background-color: #ddd; margin-top: 17px;" onMouseOut="this.style.color='crimson'" onMouseOver="this.style.color='green'"><i class="fa fa-check fa-lg" aria-hidden="true"></i> OK</button>
353
355
<button onclick='cancelEdit(this)' name="${ matching . noteid } " class="btn btnnote" style="float: right; background-color: #ddd;margin-top: 17px;" onMouseOut="this.style.color='crimson'" onMouseOver="this.style.color='green'"><i class="fas fa-window-close fa-lg"></i> Cancel</button>
354
356
</div>`
Original file line number Diff line number Diff line change 65
65
}
66
66
}
67
67
68
- .notebody {
68
+ /* .notebody {
69
69
height: 18px;
70
70
width: 150px;
71
71
padding: 0;
74
74
margin: 0 5px 0 5px;
75
75
text-decoration: none;
76
76
white-space: nowrap;
77
- }
77
+ } */
78
78
79
79
80
80
.column : hover {
@@ -134,23 +134,29 @@ body {
134
134
}
135
135
136
136
.editor {
137
- padding : 10px ;
138
- resize : none;
137
+ padding-left : 10px ;
138
+ padding-right : 10px ;
139
+ padding-bottom : 10px ;
140
+ /* resize: none; */
141
+ resize : vertical;
142
+ overflow : auto;
139
143
background : # F5F5F5 ;
140
144
border-color : # D8D8D8 ;
141
145
border-style : solid;
142
146
border-radius : 5px ;
143
147
border-width : 1px ;
144
148
box-shadow : none;
145
149
display : block;
146
- width : 99% ;
147
- height : 90% ;
150
+ width : 100% ;
151
+ max-height : 85% ;
152
+ min-height : 30% ;
153
+ height : 80% ;
148
154
}
149
155
150
156
input [type = "text" ] {
151
157
width : 100% ;
152
158
padding : 10px ;
153
- margin-top : 20 px ;
159
+ margin-top : 10 px ;
154
160
outline : none;
155
161
border-radius : 5px ;
156
162
box-shadow : none;
@@ -161,8 +167,8 @@ textarea {
161
167
width : 100% ;
162
168
height : 90% ;
163
169
display : block;
164
- margin-top : 20 px ;
165
- padding : 20px ;
170
+ margin-top : 10 px ;
171
+ padding : 20px ;
166
172
resize : none;
167
173
border-radius : 5px ;
168
174
box-shadow : none;
You can’t perform that action at this time.
0 commit comments