Commit ee01c82f authored by Nicolò Maria Mezzopera's avatar Nicolò Maria Mezzopera

Merge branch '296662-replace-minmax-with-minwidth' into 'master'

Replace minmax with setting min-width

See merge request gitlab-org/gitlab!50881
parents c4da46a9 29493285
......@@ -588,6 +588,12 @@ table.code {
// Merge request diff grid layout
.diff-grid {
.diff-td {
// By default min-width is auto with 1fr which causes some overflow problems
// https://gitlab.com/gitlab-org/gitlab/-/issues/296222
min-width: 0;
}
.diff-grid-row {
display: grid;
grid-template-columns: 1fr 1fr;
......@@ -601,27 +607,27 @@ table.code {
.diff-grid-comments {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
grid-template-columns: 1fr 1fr;
}
.diff-grid-drafts {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
grid-template-columns: 1fr 1fr;
}
&.inline {
.diff-grid-comments {
display: grid;
grid-template-columns: minmax(0, 1fr);
grid-template-columns: 1fr;
}
.diff-grid-drafts {
display: grid;
grid-template-columns: minmax(0, 1fr);
grid-template-columns: 1fr;
}
.diff-grid-row {
grid-template-columns: minmax(0, 1fr);
grid-template-columns: 1fr;
}
.diff-grid-left,
......
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