Bricks Version: 1.6
Browser: Chrome 90
OS: macOS
Using the mobile-first approach, selecting a fill/stroke color for an SVG only applies to desktop. This applies to elements that have the ‘icon’ control (like Social Icons and the arrows in the nestable slider). Selecting a color at the base breakpoint (mobile), the CSS generated has a media query:
@media (min-width: 1279px) {
#brxe-uwwebx .repeater-item:nth-child(1) svg {stroke: var(--bricks-color-dnngjo); fill: var(--bricks-color-dnngjo)}
}
To reproduce:
- Set the base breakpoint to mobile
- Add the Social Icons element
- Set an icon to an SVG and set the fill/stroke
- View the CSS for the element on the frontend