diff --git a/app/assets/stylesheets/admin.scss b/app/assets/stylesheets/admin.scss index c6e72a248..41089dbe1 100644 --- a/app/assets/stylesheets/admin.scss +++ b/app/assets/stylesheets/admin.scss @@ -978,17 +978,6 @@ table { } } - .legislation-draft-version-body { - font-family: $font-family-serif; - background: #f5f5f5; - height: 16em; - - &:focus { - border: 1px solid #cacaca; - box-shadow: inset 0 1px 2px rgba(34, 34, 34, 0.1); - } - } - .markdown-preview { font-family: $font-family-serif; border: 1px solid #cacaca; @@ -1032,11 +1021,14 @@ table { .legislation-draft-version-body { border-radius: 0; - padding: 1rem; - border: 0; @include breakpoint(medium) { - padding: 1rem 2rem; + padding-left: 2rem; + padding-right: 2rem; + } + + &:focus { + box-shadow: inset 0 1px 2px rgba(34, 34, 34, 0.1); } } @@ -1051,12 +1043,6 @@ table { } } -.legislation-draft-version-body { - &:focus { - border: 0; - } -} - // 09. Map // -------------- diff --git a/app/views/admin/legislation/draft_versions/_form.html.erb b/app/views/admin/legislation/draft_versions/_form.html.erb index 3c3fb1d1f..dd462837d 100644 --- a/app/views/admin/legislation/draft_versions/_form.html.erb +++ b/app/views/admin/legislation/draft_versions/_form.html.erb @@ -50,7 +50,8 @@