Here is the scenario:
body {
padding-left: 350px;
}
<body>
<div>child</div>
</body>
Occasionally, the child within body can be different:
<body>
<div class="service-error">child</div>
</body>
I want to achieve something like this:
.service-error {
body & {
padding-left: 0 !important;
}
}
However, my current method is not working. Any suggestions on the correct approach?