Skip to content

Commit 7a50b63

Browse files
committed
Fix UI - Small Screen #8
1 parent a13a135 commit 7a50b63

File tree

2 files changed

+13
-10
lines changed

2 files changed

+13
-10
lines changed

index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
<button class="btn" onclick="gridView()"><i class="fa fa-th-large"></i></button>
2323
<button class="btn" id="addBtn"><i class="fas fa-plus"></i></button>
2424
</div>
25-
<br>
2625
<div class="row" id="notes">
2726
</div>
2827
</div>

public/styles/style.css

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ body {
129129
display: block;
130130
font-size: 18px;
131131
width: 100%;
132-
height: 100%;
132+
height: 100%;
133133
margin-top: 10px;
134134
}
135135

@@ -144,7 +144,8 @@ body {
144144
display: block;
145145
font-size: 18px;
146146
width: 100%;
147-
height: fit-content;
147+
margin-bottom: 5px;
148+
height: calc(100% - 50px);
148149
}
149150

150151
input[type="text"] {
@@ -160,30 +161,29 @@ input[type="text"] {
160161

161162
textarea {
162163
width: 100%;
163-
height: 75vh;
164-
display: block;
164+
height: inherit;
165165
background-color: rgb(249, 239, 226);
166166
margin-top: 5px;
167167
padding: 10px;
168168
font-size: 18px;
169-
resize: none;
170169
border-radius: 5px;
171170
box-shadow: none;
172171
outline: none;
173172
border: 1px solid #D8D8D8;
173+
resize: none;
174174
}
175175

176176
.markdown-body {
177-
box-sizing: border-box;
178177
margin: 0 auto;
179178
margin-bottom: 10px;
180179
padding: 10px;
181180
font-size: 20px;
182181
}
183182

184-
#btnContainer {
183+
#btnContainer, .editBtns {
185184
justify-content: space-around;
186185
display: flex;
186+
margin-bottom: 10px;
187187
}
188188

189189
/* Responsive columns - one column layout (vertical) on small screens */
@@ -196,9 +196,13 @@ textarea {
196196
}
197197

198198
textarea {
199-
height: 78vmax;
200199
font-size: 12px;
201-
resize: vertical;
200+
resize: none;
201+
}
202+
203+
.editnote {
204+
margin-bottom: 3px;
205+
height: calc(100% - 40px);
202206
}
203207

204208
input[type="text"] {

0 commit comments

Comments
 (0)