openems icon indicating copy to clipboard operation
openems copied to clipboard

Only a small Compilation Warning fix

Open Sn0w3y opened this issue 1 year ago • 2 comments

See Comments here:

https://github.com/OpenEMS/openems/pull/2623/files#r1586336975 https://github.com/OpenEMS/openems/pull/2623/files#r1586337561

Sn0w3y avatar May 01 '24 14:05 Sn0w3y

Code Coverage

github-actions[bot] avatar May 01 '24 14:05 github-actions[bot]

Code Coverage

github-actions[bot] avatar May 01 '24 14:05 github-actions[bot]

Here is the Warning we get if we do not Apply the PR:

Warning: ▲ [WARNING] A nested style rule cannot start with "ion-row" because it looks like the start of a declaration [css-syntax-error]

C:/Users/User/Desktop/openems-2024.2.0_ORIGINAL/ui/src/app/shared/footer/footer.ts-angular-inline--3.css:13:6:
  13 │       ion-row {
     │       ~~~~~~~
     ╵       :is(ion-row)

To start a nested style rule with an identifier, you need to wrap the identifier in :is(...) to prevent the rule from being parsed as a declaration.

Sn0w3y avatar May 28 '24 19:05 Sn0w3y

Code Coverage

github-actions[bot] avatar May 28 '24 19:05 github-actions[bot]

@lukasrgr maybe have a look

Sn0w3y avatar Jun 07 '24 17:06 Sn0w3y

Code Coverage

github-actions[bot] avatar Jun 07 '24 18:06 github-actions[bot]