Comments: When editing, resize the textarea

Minor tweaks:
* Remove the 'editing' class after cancel/save
* Style <code>, <pre>, etc tags
This commit is contained in:
2017-11-08 22:49:56 +01:00
parent cb0272fe60
commit ac9aa59924
4 changed files with 24 additions and 42 deletions

View File

@@ -351,6 +351,7 @@
=node-details-description
+clearfix
color: darken($color-text-dark, 5%)
font:
family: $font-body
@@ -358,15 +359,10 @@
size: 1.2em
word-break: break-word
clear: both
+clearfix
+media-xs
font-size: 1.1em
strong, b
font-weight: 400
a:not([class])
color: $color-text-dark-primary
text-decoration: underline
@@ -453,31 +449,9 @@
padding-left: 20px
code, kbd, pre, samp
font-size: 1.3rem
pre
background-color: lighten($color-background, 5%)
border-color: $color-background
border-radius: 3px
color: $color-text
/* when <pre> is outside <p> */
margin:
left: 20px
right: 20px
pre+p
margin-top: 30px
p+pre
/* a <pre> right after a <p> usually are related, remove some spacing */
margin-top: -10px
p
pre
/* We already have spacing on the sides inside <p> */
margin:
left: 0
right: 0
background-color: rgba($color-primary, .05)
color: darken($color-primary, 10%)
font-size: inherit
=markdown-preview-container