From 0c9ad061ef1c24dd1e91113ff04cedf5f494dc53 Mon Sep 17 00:00:00 2001 From: Dave Roberts Date: Tue, 10 Oct 2023 11:58:36 +0100 Subject: [PATCH] Style changes for markdown preview --- src/frontend/css/stylesheets/base/_global.scss | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/frontend/css/stylesheets/base/_global.scss b/src/frontend/css/stylesheets/base/_global.scss index 7d2fe61ee..75ee7dfd4 100644 --- a/src/frontend/css/stylesheets/base/_global.scss +++ b/src/frontend/css/stylesheets/base/_global.scss @@ -95,8 +95,14 @@ table.table-bordered { } #preview { - box-shadow: $box-shadow-dark; - padding: 10px; + //Copied from bootstrap + padding: $input-padding-y $input-padding-x; + @include border-radius($input-border-radius, 0); + @include box-shadow($input-box-shadow); + @include transition($input-transition); + @include form-control-focus($ignore-warning: true); + background-clip: padding-box; + border: $input-border-width solid $input-border-color; + //Required to stop box "overlapping" other controls below margin-bottom: 1.2em; - border: $input-border; } \ No newline at end of file