mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 21:19:41 -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:
parent
057d1dc077
commit
ca03b2ff30
@ -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
|
||||
// --------------------------------------------------
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user