Use double-colons before pseudo-elements

Created on 6 July 2024, 10 months ago
Updated 20 July 2024, 9 months ago

The css/examples.icons.css file contains the following lines.

.toolbar-bar .toolbar-icon-examples:before,
.toolbar-bar .toolbar-icon-examples:active:before,
.toolbar-bar .toolbar-icon-examples.active:before {
  background-image: url(../images/examples.svg);
}

Before a pseudo-element there should be two colons. The correct lines are the following ones.

.toolbar-bar .toolbar-icon-examples::before,
.toolbar-bar .toolbar-icon-examples:active::before,
.toolbar-bar .toolbar-icon-examples.active::before {
  background-image: url(../images/examples.svg);
}

As a side note, the description given for @file needs to be changed to Styling for the Examples module icons.

📌 Task
Status

Fixed

Version

4.0

Component

Code

Created by

🇮🇹Italy apaderno Brescia, 🇮🇹

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024