Fix subpixel border issue
**What?** In some browsers subpixel heights are rounded in tables. This was causing the discussion border to be hidden because the content overflowed. Adding `padding-bottom: 1px` basically overrides this rounding. https://gitlab.com/gitlab-org/gitlab-ce/issues/53973
This commit is contained in:
parent
cf5c8e73fb
commit
00b2e9ba35
|
@ -471,6 +471,11 @@ $note-form-margin-left: 72px;
|
|||
vertical-align: top;
|
||||
white-space: normal;
|
||||
|
||||
// Fixes subpixel rounding issue https://gitlab.com/gitlab-org/gitlab-ce/issues/53973
|
||||
// background-color is needed for dark code preference
|
||||
padding-bottom: 1px;
|
||||
background-color: $white-light;
|
||||
|
||||
&.parallel {
|
||||
border-width: 1px;
|
||||
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: Fix MR discussion border missing in chrome sometimes
|
||||
merge_request: 28185
|
||||
author:
|
||||
type: fixed
|
Loading…
Reference in New Issue