Page Preview CSS cleanup #634

This commit is contained in:
Andy Miller
2016-06-02 11:50:57 -06:00
parent 719ce4331c
commit 395a5e136d
4 changed files with 28 additions and 7 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -138,13 +138,33 @@
}
}
.grav-editor-preview {
padding: 20px;
overflow-y: scroll;
position: relative;
background: #fff;
#admin-main {
.grav-editor-preview {
padding: 20px;
overflow-y: scroll;
position: relative;
background: #fff;
line-height: 1.5;
h1, h2, h3, h4, h5, h6 {
padding: 0;
margin: 2rem 0 1rem;
border-bottom: 0 !important;
}
p {
padding: 0;
margin: 0.5rem 0 1rem;
}
pre {
padding: 1rem;
}
}
}
.grav-editor-toolbar {
[data-hint]:after {
white-space: nowrap !important;

View File

@@ -76,6 +76,7 @@ pre {
border-radius: 3px;
code {
background: inherit;
white-space: pre-line;
}
}