diff options
Diffstat (limited to 'client/src/sass')
-rw-r--r-- | client/src/sass/_variables.scss | 1 | ||||
-rw-r--r-- | client/src/sass/application.scss | 5 |
2 files changed, 4 insertions, 2 deletions
diff --git a/client/src/sass/_variables.scss b/client/src/sass/_variables.scss index d05452367..0d655e85c 100644 --- a/client/src/sass/_variables.scss +++ b/client/src/sass/_variables.scss | |||
@@ -9,6 +9,7 @@ $black-background: #000; | |||
9 | $grey-background: #f6f2f2; | 9 | $grey-background: #f6f2f2; |
10 | 10 | ||
11 | $expanded-horizontal-margins: 150px; | 11 | $expanded-horizontal-margins: 150px; |
12 | $not-expanded-horizontal-margins: 30px; | ||
12 | 13 | ||
13 | $button-height: 30px; | 14 | $button-height: 30px; |
14 | 15 | ||
diff --git a/client/src/sass/application.scss b/client/src/sass/application.scss index db63db5f5..5e401f93b 100644 --- a/client/src/sass/application.scss +++ b/client/src/sass/application.scss | |||
@@ -52,8 +52,8 @@ input.readonly { | |||
52 | } | 52 | } |
53 | 53 | ||
54 | .margin-content { | 54 | .margin-content { |
55 | margin-left: 10px; | 55 | margin-left: $not-expanded-horizontal-margins; |
56 | margin-right: 10px; | 56 | margin-right: $not-expanded-horizontal-margins; |
57 | } | 57 | } |
58 | 58 | ||
59 | .sub-menu { | 59 | .sub-menu { |
@@ -63,6 +63,7 @@ input.readonly { | |||
63 | margin-bottom: 30px; | 63 | margin-bottom: 30px; |
64 | display: flex; | 64 | display: flex; |
65 | align-items: center; | 65 | align-items: center; |
66 | padding-left: $not-expanded-horizontal-margins; | ||
66 | } | 67 | } |
67 | 68 | ||
68 | // Override some properties if the main content is expanded (no menu on the left) | 69 | // Override some properties if the main content is expanded (no menu on the left) |