Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/header_menu.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const HeaderMenu = ({
const { filename } = models.file.splitFilename(file.attributes)

return (
<header>
<header className={styles['header']}>
<div className={styles['header-menu']}>
<WithBreakpoints hideOn={Breakpoints.Mobile}>
<AppLinker app={{ slug: Slugs.Home }} href={homeHref}>
Expand Down
6 changes: 5 additions & 1 deletion src/components/header_menu.styl
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
@require 'settings/breakpoints.styl'

.header
position fixed // To be above the cozy-bar
z-index calc(var(--zIndex-bar) + 1) // To be above the cozy-bar
width 100%

.header-menu
align-items center
box-shadow var(--shadow1)
display flex
padding 0.5rem 1rem 0.5rem 0
position relative
z-index var(--zIndex-low) // Needed for the drop-shadow to be above the editor area

+small-screen('min')
Expand Down
2 changes: 1 addition & 1 deletion src/components/notes/editor-view.styl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ $COZY_BAR_HEIGHT=-3rem
.note-article
display flex
flex-direction column
height 100%
height calc(100% + 3rem) // To keep a 100% height even with the negative margin-top
width 100%

&:not(.note-article--intents)
Expand Down
1 change: 1 addition & 0 deletions src/styles/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ html .akEditor>div:first-child {

.note-editor-container {
overflow: hidden;
margin-top: 3rem; /* To go below the toolbar which is fixed */
}

/* prose mirror toolbar in the upper bar */
Expand Down
Loading