Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save hadizz/ecfeedb6a5690aad8f60a2d389d9c354 to your computer and use it in GitHub Desktop.
Save hadizz/ecfeedb6a5690aad8f60a2d389d9c354 to your computer and use it in GitHub Desktop.
Gitlab Code Review Focus Mode
.mr-version-controls.mr-version-menus-container {
display: none !important;
}
.merge-request-tabs-container,
.breadcrumbs-containe,
.detail-page-header-body,
.detail-page-header,
.nav-sidebar,
.navbar-gitlab,
.detail-page-description,
.breadcrumbs,
.mr-version-controls {
display: none !important;
}
.right-sidebar.right-sidebar-collapsed {
display: none !important;
}
.page-with-contextual-sidebar {
padding-left: 0!important;
}
.page-initialised .content-wrapper {
padding-right: 0!important;
}
.content-wrapper-margin,
.gl-mt-2 {
margin-top: 0 !important;
}
.col-12.col-md-auto.diff-files-holder {
max-width: unset !important;
padding: 0 !important;
}
.diff-file.file-title,
.diff-file.file-title-flex-parent, .js-file-title {
position: unset !important;
}
.diff-file.diff-content {
font-size: 1.5em;
}
.merge-request-tabs-holder,
.epic-tabs-holder {
border-bottom: none !important;
}
.layout-page, .content-wrapper {
transition: unset !important;
}
.content-wrapper {
margin: 0 !important;
padding: 0 !important;
}
button.add-diff-note {
margin-left: 10px;
transform: scale(0.8);
}
.diff-tree-list{
display: none !important;
}
.container-limited {
max-width: 100% !important;
}
.container-limited.limit-container-width {
max-width: 100% !important;
margin: 2rem 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment