Move SCSS variables for topic post width

This allows them to be re-used by other components, for example the
upcoming review queue.
This commit is contained in:
Robin Ward 2019-02-06 11:37:18 -05:00
parent 057d1dc077
commit ca03b2ff30
2 changed files with 3 additions and 3 deletions

View File

@ -10,6 +10,9 @@ $medium-width: 995px !default;
$large-width: 1110px !default;
$input-padding: 4px 10px;
$topic-body-width: 690px;
$topic-body-width-padding: 11px;
$topic-avatar-width: 45px;
// Brand color variables
// --------------------------------------------------

View File

@ -633,9 +633,6 @@ blockquote {
}
// variables are used to calculate the width of .gap
$topic-body-width: 690px;
$topic-body-width-padding: 11px;
$topic-avatar-width: 45px;
.topic-body {
width: calc(#{$topic-body-width} + (#{$topic-body-width-padding} * 2));
float: left;