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:
Paul Slaughter 2019-05-07 14:05:59 -05:00
parent cf5c8e73fb
commit 00b2e9ba35
No known key found for this signature in database
GPG Key ID: DF5690803C68282A
2 changed files with 10 additions and 0 deletions

View File

@ -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;

View File

@ -0,0 +1,5 @@
---
title: Fix MR discussion border missing in chrome sometimes
merge_request: 28185
author:
type: fixed