Remove the left indent for class gr-main-header (PolyGerrit)

The patch set includes:
- Align the left indent of the header.
- Align the left indent of the list in Dashboard page.
- Align the left indent of the menu items in Admin page.

Bug: Issue 6339
Change-Id: I4c91cd3eaf02b14d2846135f585f2f9fa48fa015
This commit is contained in:
Hoa Tran
2018-05-05 23:08:54 +07:00
parent 2ee84a3dae
commit ecbf06a671
3 changed files with 4 additions and 5 deletions

View File

@@ -52,7 +52,6 @@ limitations under the License.
content: "";
display: inline-block;
height: var(--header-icon-size);
margin: 0 .25em 0 0;
vertical-align: text-bottom;
width: var(--header-icon-size);
}

View File

@@ -124,7 +124,7 @@ limitations under the License.
vertical-align: middle;
}
.leftPadding {
width: 20px;
width: var(--default-horizontal-margin);
}
.star {
width: 30px;

View File

@@ -24,7 +24,7 @@ limitations under the License.
border-bottom: 1px solid transparent;
border-top: 1px solid transparent;
display: block;
padding: 0 2em;
padding: 0 calc(var(--default-horizontal-margin) + 0.5em);
}
.navStyles li a {
display: block;
@@ -33,13 +33,13 @@ limitations under the License.
white-space: nowrap;
}
.navStyles .subsectionItem {
padding-left: 3em;
padding-left: calc(var(--default-horizontal-margin) + 1.5em);
}
.navStyles .hideSubsection {
display: none;
}
.navStyles li.sectionTitle {
padding: 0 2em 0 1.5em;
padding: 0 2em 0 var(--default-horizontal-margin);
}
.navStyles li.sectionTitle:not(:first-child) {
margin-top: 1em;