Skip to content

Commit

Permalink
Style changes for markdown preview
Browse files Browse the repository at this point in the history
  • Loading branch information
droberts-ctrlo committed Oct 10, 2023
1 parent 5727b19 commit 0c9ad06
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions src/frontend/css/stylesheets/base/_global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit 0c9ad06

Please sign in to comment.