Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save elcoreman/3f7ec19249884c9c5c8a957b7600329e to your computer and use it in GitHub Desktop.
Save elcoreman/3f7ec19249884c9c5c8a957b7600329e 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;
}
@hadizz
Copy link

hadizz commented Apr 4, 2022

Thanks❤️, I forked and make the blocks fit the screen size for better reviewing. gist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment