Rename content margin top variable to content margin vertical, as it affects both top and bottom.

This commit is contained in:
Paulo Reis 2017-10-23 16:18:16 +01:00
parent fb121494e6
commit 5f5731eca2
3 changed files with 7 additions and 9 deletions

View file

@ -50,8 +50,8 @@
}
.project-list-sidebar {
background-color: @sidebar-bg;
padding-top: @content-margin-top;
padding-bottom: @content-margin-top;
padding-top: @content-margin-vertical;
padding-bottom: @content-margin-vertical;
}
.project-list-sidebar when (@is-overleaf) {
@ -62,8 +62,8 @@
}
.project-list-main {
padding-top: @content-margin-top;
padding-bottom: @content-margin-top;
padding-top: @content-margin-vertical;
padding-bottom: @content-margin-vertical;
height: 100%;
overflow: hidden;
}

View file

@ -788,9 +788,7 @@
//** Horizontal offset for forms and lists.
@component-offset-horizontal: 180px;
@content-margin-top: @line-height-computed;
@content-margin-top: @line-height-computed;
@content-margin-vertical: @line-height-computed;
@left-menu-width: 260px;
@left-menu-animation-duration: 0.35s;

View file

@ -144,8 +144,8 @@ hr {
}
.content {
padding-top: @content-margin-top;
padding-bottom: @content-margin-top;
padding-top: @content-margin-vertical;
padding-bottom: @content-margin-vertical;
}
.content-alt {