mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36:14 -05:00
Fixes wrong positioning of notifications.
This commit is contained in:
parent
55e0d11f87
commit
e7cea72935
2 changed files with 30 additions and 22 deletions
|
@ -44,6 +44,13 @@
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.entry-container {
|
||||||
|
position: relative;
|
||||||
|
height: -webkit-calc(100% - 70px);
|
||||||
|
height: -moz-calc(100% - 70px);
|
||||||
|
height: calc(100% - 70px);
|
||||||
|
}
|
||||||
|
|
||||||
// The two content panel wrappers, positioned left/right
|
// The two content panel wrappers, positioned left/right
|
||||||
.entry-markdown { left:0; border-right:$lightbrown 2px solid; }
|
.entry-markdown { left:0; border-right:$lightbrown 2px solid; }
|
||||||
.entry-preview { right:0; border-left:$lightbrown 2px solid; }
|
.entry-preview { right:0; border-left:$lightbrown 2px solid; }
|
||||||
|
@ -55,7 +62,7 @@
|
||||||
padding: 15px;
|
padding: 15px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom:40px; // height of the publish bar
|
bottom:40px; // height of the publish bar
|
||||||
top:69px; // height of the post title + margin
|
top:0px; // height of the post title + margin
|
||||||
background: #fff;
|
background: #fff;
|
||||||
box-shadow: $shadow;
|
box-shadow: $shadow;
|
||||||
|
|
||||||
|
@ -65,7 +72,7 @@
|
||||||
|
|
||||||
// Convert all content areas to small boxes
|
// Convert all content areas to small boxes
|
||||||
@include breakpoint($netbook) {
|
@include breakpoint($netbook) {
|
||||||
top:109px;
|
top:40px;
|
||||||
left:0;
|
left:0;
|
||||||
right:0;
|
right:0;
|
||||||
width:100%;
|
width:100%;
|
||||||
|
|
|
@ -8,27 +8,28 @@
|
||||||
</section>
|
</section>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<section class="entry-markdown active">
|
<section class="entry-container">
|
||||||
<header class="floatingheader">
|
<section class="entry-markdown active">
|
||||||
{{e "editor.headers.markdown.label" "Markdown"}}
|
<header class="floatingheader">
|
||||||
<a class="markdown-help" href="#"><span class="hidden">What is Markdown?</span></a>
|
{{e "editor.headers.markdown.label" "Markdown"}}
|
||||||
</header>
|
<a class="markdown-help" href="#"><span class="hidden">What is Markdown?</span></a>
|
||||||
<section class="entry-markdown-content">
|
</header>
|
||||||
<textarea id="entry-markdown"></textarea>
|
<section class="entry-markdown-content">
|
||||||
</section>
|
<textarea id="entry-markdown"></textarea>
|
||||||
</section>{{!.entry-markdown}}
|
</section>
|
||||||
|
</section>{{!.entry-markdown}}
|
||||||
<section class="entry-preview">
|
|
||||||
<header class="floatingheader">
|
|
||||||
Preview <span class="entry-word-count js-entry-word-count">0 words</span>
|
|
||||||
</header>
|
|
||||||
<section class="entry-preview-content">
|
|
||||||
<div class="rendered-markdown">
|
|
||||||
{{!The content gets inserted in here, bitches!}}
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
</section>{{!.entry-preview}}
|
|
||||||
|
|
||||||
|
<section class="entry-preview">
|
||||||
|
<header class="floatingheader">
|
||||||
|
Preview <span class="entry-word-count js-entry-word-count">0 words</span>
|
||||||
|
</header>
|
||||||
|
<section class="entry-preview-content">
|
||||||
|
<div class="rendered-markdown">
|
||||||
|
{{!The content gets inserted in here, bitches!}}
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</section>{{!.entry-preview}}
|
||||||
|
</section>
|
||||||
<footer id="publish-bar">
|
<footer id="publish-bar">
|
||||||
<nav>
|
<nav>
|
||||||
<section id="entry-categories" href="#" class="left">
|
<section id="entry-categories" href="#" class="left">
|
||||||
|
|
Loading…
Add table
Reference in a new issue