Skip to content

Commit cbd04d1

Browse files
committed
Fix: Small Screens #1
1 parent 544ddf0 commit cbd04d1

File tree

1 file changed

+27
-11
lines changed

1 file changed

+27
-11
lines changed

public/styles/style.css

Lines changed: 27 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ p code.hljs, li code.hljs { display: inline; padding: .2em }
133133
}
134134

135135
.right {
136+
position: relative;
136137
height: inherit;
137138
width: 75%;
138139
display: inline-block;
@@ -244,11 +245,11 @@ input[type="text"]#title::placeholder {
244245
display: inline-flex;
245246
align-items: center;
246247
background-color: #bbb;
247-
position: fixed;
248+
position: absolute;
248249
padding-right: 10px;
249250
padding-left: 10px;
250251
padding-top: 8px;
251-
width: 74%;
252+
width: 100%;
252253
justify-content: space-between;
253254
}
254255

@@ -627,6 +628,10 @@ button[disabled]{
627628
height: 97.5%;
628629
}
629630

631+
.md-editor {
632+
height: 90%;
633+
}
634+
630635
.left {
631636
height: 97.5%;
632637
padding-top: 5px;
@@ -708,13 +713,13 @@ input[type="text"]#title {
708713
}
709714

710715
.shwBtnsR {
711-
display: inline-flex;
716+
display: flex;
712717
align-items: center;
713718
justify-content: space-between;
714-
background-color: #bbb;
715-
position: fixed;
719+
background-color: #bbb;
720+
position: absolute;
716721
padding: 2px 5px 0px 5px;
717-
width: 73%;
722+
width: 100%;
718723
}
719724

720725
#btnLink, #btnOList, #btnUList, #btnQuote, #btnImage, #btnTask, #btnTable, #btnStrike, #btnHline, #btnCodeBlock {
@@ -791,7 +796,7 @@ input[type="text"]#title {
791796
overflow: scroll;
792797
margin-top: 1px;
793798
border: solid 1px #D8D8D8;
794-
height: calc(100% - 55px);
799+
height: calc(100% - 53px);
795800
}
796801

797802
.row {
@@ -800,12 +805,12 @@ input[type="text"]#title {
800805
padding-top: 0;
801806
}
802807
.shwBtnsL {
803-
padding-top: 4px;
808+
padding-top: 3px;
804809
display: inline-flex;
805810
width: 100%;
806811
align-items: center;
807-
padding-left: 10px;
808-
padding-right: 10px;
812+
padding-left: 5px;
813+
padding-right: 5px;
809814
justify-content: space-between;
810815
}
811816

@@ -836,7 +841,6 @@ input[type="text"]#title {
836841
.search-bar .input-text {
837842
height: 21px;
838843
}
839-
840844
.left {
841845
height: 97.5%;
842846
padding-top: 5px;
@@ -870,4 +874,16 @@ input[type="text"]#title {
870874
padding: 0px;
871875
padding-top: 5px;
872876
}
877+
878+
.md-editor-tools > button {
879+
border: 1px solid #0066cc;
880+
background-color: #0099cc;
881+
color: #ffffff;
882+
padding: 5px 5px;
883+
}
884+
885+
textarea {
886+
padding: 10px;
887+
font-size: 0.8rem;
888+
}
873889
}

0 commit comments

Comments
 (0)