That is one way to check if it’s the only element, being the first and last child at the same timeā¦
.o-inline {
&:where(:has(i:first-child:last-child)) {
opacity: var(--o-mail-ActionList-Button-opacity);
}
}
Code language: SCSS (scss)