DEV: remove `:has` selector from chat settings (#25248)

This commit is contained in:
Kris 2024-01-12 18:04:27 -05:00 committed by GitHub
parent 7639591552
commit 92708f2ff5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View File

@ -578,7 +578,7 @@ export default class ChatRouteChannelInfoSettings extends Component {
</form.section>
{{/if}}
<form.section as |section|>
<form.section class="--leave-channel" as |section|>
<section.row>
<:action>
<ToggleChannelMembershipButton

View File

@ -19,7 +19,9 @@
}
}
.chat-form__section-content:has(.c-channel-settings__leave-info) {
gap: 0.25rem;
.chat-form__section.--leave-channel {
.chat-form__section-content {
gap: 0.25rem 0.5rem;
}
}
}