mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
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:
@@ -10,6 +10,9 @@ $medium-width: 995px !default;
|
|||||||
$large-width: 1110px !default;
|
$large-width: 1110px !default;
|
||||||
|
|
||||||
$input-padding: 4px 10px;
|
$input-padding: 4px 10px;
|
||||||
|
$topic-body-width: 690px;
|
||||||
|
$topic-body-width-padding: 11px;
|
||||||
|
$topic-avatar-width: 45px;
|
||||||
|
|
||||||
// Brand color variables
|
// Brand color variables
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|||||||
@@ -633,9 +633,6 @@ blockquote {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// variables are used to calculate the width of .gap
|
// variables are used to calculate the width of .gap
|
||||||
$topic-body-width: 690px;
|
|
||||||
$topic-body-width-padding: 11px;
|
|
||||||
$topic-avatar-width: 45px;
|
|
||||||
.topic-body {
|
.topic-body {
|
||||||
width: calc(#{$topic-body-width} + (#{$topic-body-width-padding} * 2));
|
width: calc(#{$topic-body-width} + (#{$topic-body-width-padding} * 2));
|
||||||
float: left;
|
float: left;
|
||||||
|
|||||||
Reference in New Issue
Block a user