Skip to content

Commit

Permalink
Merge pull request ondras#131 from ondras/notes-height
Browse files Browse the repository at this point in the history
note editor height, fixes ondras#129
  • Loading branch information
ondras authored Oct 4, 2021
2 parents db0e82c + 3e80c1e commit e5af5b8
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
8 changes: 3 additions & 5 deletions css/ui.css
Original file line number Diff line number Diff line change
Expand Up @@ -134,16 +134,14 @@ button:not(:disabled) {

#notes {
width: 50%;
display: flex;
flex-direction: column;
}

#notes-editor {
border: 0;
width: 100%;
height: 100%;
}

.pell-content {
height: calc(100% - 60px);
flex: auto;
}

.ui #github {
Expand Down
11 changes: 11 additions & 0 deletions editor.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,17 @@
margin: 0;
padding: 0;
}

#notes-content {
height: 100vh;
display: flex;
flex-direction: column;
}

.pell-content {
flex: auto;
}

</style>
</head>
<body>
Expand Down

0 comments on commit e5af5b8

Please sign in to comment.