Commit 6e431c6c authored by Filipa Lacerda's avatar Filipa Lacerda

Fixes margins for project buttons

Adds changelog entry

Fix margins with pinned sidebar

Fix scss linter errors

Adds MR ID to changelog entry
parent 1e8cb595
......@@ -145,10 +145,12 @@
}
}
.project-repo-buttons,
.group-buttons {
margin-top: 15px;
}
.project-repo-buttons,
.group-buttons {
.btn {
@include btn-gray;
padding: 3px 10px;
......@@ -184,6 +186,12 @@
margin-left: 10px;
}
.download-button {
@media (max-width: $screen-lg-min) {
margin-left: 0;
}
}
.count-buttons {
display: inline-block;
vertical-align: top;
......@@ -468,6 +476,20 @@ a.deploy-project-label {
}
}
.page-sidebar-pinned {
.project-stats .nav > li.right {
@media (min-width: $screen-lg-min) {
float: none;
}
}
.download-button {
@media (min-width: $screen-lg-min) {
margin-left: 0;
}
}
}
.project-stats {
font-size: 0;
border-bottom: 1px solid $border-color;
......@@ -485,9 +507,11 @@ a.deploy-project-label {
}
&.right {
@media (min-width: $screen-md-min) {
float: right;
vertical-align: top;
margin-top: 0;
@media (min-width: $screen-lg-min) {
float: right;
}
}
}
......
---
title: Fix Margins look weird in Project page with pinned sidebar in project stats bar
merge_request: 7580
author:
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment