Skip to content

Instantly share code, notes, and snippets.

@alihoseiny
Last active February 1, 2023 09:30
Show Gist options
  • Save alihoseiny/1d7fdc77d228d7dc5286f478d70d82cf to your computer and use it in GitHub Desktop.
Save alihoseiny/1d7fdc77d228d7dc5286f478d70d82cf 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 {
padding-right: 0 !important;
padding-left: 0 !important;
}
.diff-file .file-title,
.diff-file .file-title-flex-parent {
position: unset !important;
}
.diff-file .diff-content {
font-size: 1.5em;
}
.merge-request-tabs-holder,
.epic-tabs-holder {
border-bottom: none !important;
}
/* fixing the problem of separated letters in Farsi comments.*/
.note-body {
font-family: vazir, IranSans, Tahoma;
}
@elcoreman
Copy link

elcoreman commented Oct 4, 2021

So good thank you, I forked and made some change to it

@alihoseiny
Copy link
Author

So good thank you, I forked and made some change to it

Great job. 👍

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