diff --git a/assets/stylesheets/wizard/custom/composer.scss b/assets/stylesheets/wizard/custom/composer.scss index 2edd6e2f..e61d8dbd 100644 --- a/assets/stylesheets/wizard/custom/composer.scss +++ b/assets/stylesheets/wizard/custom/composer.scss @@ -235,3 +235,34 @@ margin-top: 20px; align-items: center; } + +// Markdown table styles for wizard composer preview + +.cooked table, +.d-editor-preview table { + border-collapse: collapse; + + tr { + border-bottom: 1px solid var(--primary-low); + &.highlighted { + animation: background-fade-highlight 2.5s ease-out; + } + } + + thead { + th { + text-align: left; + padding: 0.5em; + font-weight: bold; + color: var(--primary); + } + } + + tbody { + border-top: 3px solid var(--primary-low); + } + + td { + padding: 3px 3px 3px 0.5em; + } +}