Table sort icons are overlapping

Created on 10 June 2023, over 1 year ago
Updated 2 January 2024, about 1 year ago

Problem/Motivation

When a Views table display has sortable columns and one is sorted, the two icons (with CSS background-image) are overlapping:
.sortable-heading > a::after in /css/components/tables.css
.tablesort--desc, [dir="rtl"] .tablesort--desc and similars (--asc & @media queries) in /css/components/tablesort-indicator.css final lines.

Proposed resolution

Since the sortable indicator has already right: 1 rem; at tablesort-indicator.css:16, I propose setting it to right: 0;. An alternative would be to keep the .tablesort {} at right: 1 rem; and set right: 0; to the sorted asc/desc indicators in subsequent lines (+ @media queries), resulting in (instead of full overlap of the 2 icons):

🐛 Bug report
Status

Needs review

Version

2.0

Component

User interface

Created by

🇮🇹Italy kopeboy Milan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024