Commit 31cc37b7 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch...

Merge branch '349115-lock-and-history-buttons-for-folders-don-t-have-margin-between-them' into 'master'

Fix spacing between Lock and History button in folder view

See merge request gitlab-org/gitlab!77233
parents 3267b1fc 2984fd53
......@@ -163,7 +163,7 @@ export default function setupVueRepositoryList() {
}`,
// Ideally passing this class to `props` should work
// But it doesn't work here. :(
class: 'btn btn-default btn-md gl-button ml-sm-0',
class: 'btn btn-default btn-md gl-button',
},
},
[__('History')],
......
......@@ -58,6 +58,13 @@
}
}
.gl-first-child-ml-sm-0 > a:first-child,
.gl-first-child-ml-sm-0 > button:first-child {
@include media-breakpoint-up(sm) {
@include gl-ml-0;
}
}
.mh-50vh { max-height: 50vh; }
.min-width-0 {
......
......@@ -6,7 +6,7 @@
#js-blob-controls
.tree-controls
.d-block.d-sm-flex.flex-wrap.align-items-start.gl-children-ml-sm-3<
.d-block.d-sm-flex.flex-wrap.align-items-start.gl-children-ml-sm-3.gl-first-child-ml-sm-0<
= render_if_exists 'projects/tree/lock_link'
#js-tree-history-link{ data: { history_link: project_commits_path(@project, @ref) } }
......
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