discourse/plugins/chat/assets/stylesheets/mobile/chat-form.scss
chapoi 70f0cb610a
UX: Chat info area back button + styling tweaks (#24966)
## Back button to navigate out of add-member area

Currently on mobile, once you're in the member area, there is no easy to return to the general settings area, except exiting the settings altogether, which isn't very user friendly. A go-back link solves the problem.

## Styling tweaks

* Removed the background from the leave button
* Added more spacing between the sections on desktop and removed the fixed height for rows

Co-authored-by: Joffrey JAFFEUX <j.jaffeux@gmail.com>
2023-12-19 16:28:07 +01:00

26 lines
416 B
SCSS

.chat-form {
&__section {
margin-bottom: 0;
&:last-of-type {
.chat-form__section-content {
background: none;
padding-left: 0;
}
}
&-content {
background: var(--primary-very-low);
padding: 1rem;
}
}
&__section-title {
.chat-form__section:not(:first-of-type) & {
margin-top: 1.5rem;
}
}
&__row-content {
min-height: 40px;
}
}