Skip to content

Commit d688f82

Browse files
committed
Fix: UI components #11
1 parent ffe1d17 commit d688f82

File tree

1 file changed

+75
-6
lines changed

1 file changed

+75
-6
lines changed

public/styles/style.css

Lines changed: 75 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ input[type="text"]#title::placeholder {
192192
font-size: 18px;
193193
margin-top: 61px;
194194
width: 100%;
195-
height: 90%;
195+
height: calc(100% - 118px);
196196
}
197197

198198
.editnote {
@@ -611,7 +611,7 @@ input[type=checkbox]:checked:after {
611611
padding-top: 0%;
612612
margin-top: 51px;
613613
width: 100%;
614-
height: 92.2%;
614+
height: calc(100% - 118px);
615615
}
616616

617617
input[type="text"]#title {
@@ -667,6 +667,14 @@ input[type="text"]#title {
667667
#btnLink, #btnOList, #btnUList, #btnQuote, #btnImage, #btnTask, #btnTable, #btnStrike, #btnHline, #btnCodeBlock {
668668
display: none;
669669
}
670+
671+
.note {
672+
padding: 5px;
673+
}
674+
675+
.column {
676+
height: 30px;
677+
}
670678
}
671679

672680
@media screen and (max-width: 700px) {
@@ -675,10 +683,71 @@ input[type="text"]#title {
675683
padding-top: 0%;
676684
margin-top: 49px;
677685
width: 100%;
678-
height: 88.7%;
686+
height: calc(100% - 91px);
687+
}
688+
689+
.preview {
690+
height: 90.8%;
691+
}
692+
693+
.note {
694+
padding: 5px;
695+
}
696+
.column {
697+
height: 30px;
698+
}
679699
}
680700

681-
.preview {
682-
height: 90.8%;
701+
@media screen and (max-width: 1100px) {
702+
.shownote {
703+
padding: 15px;
704+
padding-top: 0%;
705+
margin-top: 49px;
706+
width: 100%;
707+
height: calc(100% - 91px);
708+
}
709+
710+
.preview {
711+
height: 90.8%;
712+
}
713+
714+
.note {
715+
padding: 5px;
716+
}
717+
718+
.column {
719+
height: 30px;
720+
}
721+
}
722+
723+
@media screen and (max-width: 300px) {
724+
#notes {
725+
overflow: scroll;
726+
margin-top: 10px;
727+
border: solid 1px #D8D8D8;
728+
height: calc(100% - 82px);
729+
}
730+
731+
.left {
732+
height: 97.5%;
733+
padding-top: 5px;
734+
padding-bottom: 5px;
735+
padding-left: 2px;
736+
padding-right: 0px;
737+
}
738+
739+
.column {
740+
width: 100%;
741+
height: 25px;
742+
border: 1px solid #D8D8D8;
743+
border-radius: 5%;
744+
}
745+
746+
.note {
747+
padding: 5px;
748+
}
749+
750+
.column {
751+
height: 30px;
752+
}
683753
}
684-
}

0 commit comments

Comments
 (0)