[UI] Fix unclosed @media query in DeployServiceMesh component styling
Description
In src/sections/DeployServiceMesh/DeployServiceMesh.style.js, the @media screen and (-webkit-min-device-pixel-ratio:0) media query opened at line 111 is never closed.
Actual Behaviour
The media query opens at line 111 to style WebKit-specific range input rules:
@media screen and (-webkit-min-device-pixel-ratio:0) {
input[type='range'] { ... }
.bubble { ... }
.bubble::after { ... }
However, there is no closing } after .bubble::after (line 138). As a result, the subsequent 188 lines of CSS—including .slider, .slider::-moz-range-thumb, .step-progress, and .progress-done—are inadvertently nested inside the WebKit-only media query.
This causes:
- Styles meant for all browsers (such as
.sliderand.progress-done) to be scoped only to WebKit browsers. - Gecko-specific rules like
.slider::-moz-range-thumbto be nested inside a WebKit media query that Firefox ignores. - Braces in
DeployServiceMesh.style.jsto be unbalanced (58 open vs 57 close).
Expected Behaviour
The @media screen and (-webkit-min-device-pixel-ratio:0) block should be closed after .bubble::after, allowing .slider and subsequent rules to sit at the component root level with balanced braces (58/58).
Suggested Fix
Add the missing closing } after line 138 before .slider in src/sections/DeployServiceMesh/DeployServiceMesh.style.js.
I have identified the root cause and have a targeted 2-line fix ready. Please assign this issue to me. Opening PR shortly.
I have opened PR https://github.com/layer5io/layer5/pull/8430 with the targeted fix.