Project

General

Profile

Actions

Defect #41957

closed

Remove nesting selectors because are not support in old browsers

Added by Kevin Zhang about 1 month ago. Updated about 1 month ago.

Status:
Closed
Priority:
Normal
Category:
UI
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

database manager version
mysql Ver 8.0.26 for Linux on x86_64 (Source distribution)

Ruby version
ruby 3.2.3 (2024-01-18 revision 52bb2ac0a6) [x86_64-linux]

Redmine version
6.0.1

Google Chrome version
109.0.5414.120

sidebar and filter form not correct displayed in old browsers (chrome, safari) because of nesting selector in application.css not supported

svg {
  &.icon-svg {
    stroke: #169;
    fill: none;
    stroke-width: 1.5;
    vertical-align: middle;
  }

  &.s20 {
    width: 1.25rem;
    height: 1.25rem;
  }

  &.s18 {
    width: 1.125rem;
    height: 1.125rem;
  }

  &.s14 {
    width: 0.875rem;
    height: 0.875rem;
  }

  &.s12 {
    width: 0.75rem;
    height: 0.75rem;
  }
}

Files

filter form not displayed.jpg (228 KB) filter form not displayed.jpg Kevin Zhang, 2024-12-09 10:43
application-css.png (114 KB) application-css.png Kevin Zhang, 2024-12-09 10:43
browsers compatible.png (180 KB) browsers compatible.png Kevin Zhang, 2024-12-09 10:43
Actions

Also available in: Atom PDF