diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-12-04 10:40:02 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-12-04 10:40:02 +0100 |
commit | d178b5c1f8eabb0face854d48e708f0ac72e7d2e (patch) | |
tree | dc3bae0f9cc5eae059b6c8bfaa513de3ef2917ef /client/src/sass/application.scss | |
parent | 2295ce6c4e7ba805cc100ff961527bebc2cd89e5 (diff) | |
download | PeerTube-d178b5c1f8eabb0face854d48e708f0ac72e7d2e.tar.gz PeerTube-d178b5c1f8eabb0face854d48e708f0ac72e7d2e.tar.zst PeerTube-d178b5c1f8eabb0face854d48e708f0ac72e7d2e.zip |
Add margin when main content is not expanded
Diffstat (limited to 'client/src/sass/application.scss')
-rw-r--r-- | client/src/sass/application.scss | 5 |
1 files changed, 3 insertions, 2 deletions
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) |