Skip to content

Commit

Permalink
Fix height issue
Browse files Browse the repository at this point in the history
  • Loading branch information
taniarascia committed Oct 20, 2020
1 parent e01cecc commit dd64e6a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
7 changes: 0 additions & 7 deletions src/client/styles/_editor.scss
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
.note-editor {
.back-button {
padding: 0.25rem 0.5rem;
margin: 0.5rem 0 1rem 1rem;
}
}

.empty-editor {
background: $light-theme-background;
width: 100%;
Expand Down
4 changes: 3 additions & 1 deletion src/client/styles/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,15 @@
}

.note-editor {
position: relative;
min-width: 300px;
.empty-editor {
height: calc(100vh);
}
.editor,
.previewer {
height: calc(100vh - 30px);
padding-top: 5 0px;
height: 100vh;
}
}

Expand Down
8 changes: 7 additions & 1 deletion src/client/styles/_note-menu-bar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,17 @@
display: flex;
align-items: center;
justify-content: space-between;
position: absolute;
top: 0;
left: 0;
width: 100%;
z-index: 99;

nav {
display: flex;
align-items: stretch;
justify-content: flex-end;
align-self: stretch;
}

.last-synced {
Expand All @@ -23,7 +29,7 @@
border: none;
border-radius: 0;
color: lighten($font-color, 15%);
padding: 1rem;
padding: 0 1rem;
margin: 0;
&:hover {
color: $font-color;
Expand Down

0 comments on commit dd64e6a

Please sign in to comment.