Project

General

Profile

Actions

Patch #43984

open

Pagination current page background extends beyond border

Added by Mizuki ISHIKAWA about 18 hours ago. Updated about 11 hours ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
UI

Description

It is noticeable that the background color of the current page exceeds the border area. This behavior seems unintended.

This issue can be resolved by adjusting the styles as shown below.

diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css
index 6684210c1a..6e4949d206 100644
--- a/app/assets/stylesheets/application.css
+++ b/app/assets/stylesheets/application.css
@@ -1206,7 +1206,6 @@ span.pagination {margin-inline-start: 3px; color: var(--oc-gray-6); display: blo
   display: inline-block;
   padding: 0;
   border: 1px solid var(--oc-gray-4);
-  margin-inline-start: -1px;
   line-height: 2em;
   margin-block-end: 1em;
   white-space: nowrap;

Before change

After change


Files

Actions #1

Updated by Go MAEDA about 15 hours ago

  • Target version set to Candidate for next minor release
Actions #2

Updated by Go MAEDA about 11 hours ago

Thank you for posting the fix. However, after applying it, I noticed that the vertical lines between the pagination cells are now displayed at 2px instead of the intended 1px.

Actions

Also available in: Atom PDF