quivr/frontend/app/chat/[chatId]/page.module.scss
Antoine Dewez 67c71bbc1d
fix(frontend): clean related Brains useEffect (#2091)
# Description

- Select current Brain from brain_id instead of brain_name
- Avoid multiple calls of useEffect

## Checklist before requesting a review

Please delete options that are not relevant.

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my code
- [ ] I have commented hard-to-understand areas
- [ ] I have ideally added tests that prove my fix is effective or that
my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged

## Screenshots (if appropriate):
2024-01-25 18:57:14 -08:00

22 lines
416 B
SCSS

@use "@/styles/Colors.module.scss";
@use "@/styles/Spacings.module.scss";
.chat_page_container {
display: flex;
flex: 1 1 0%;
background-color: Colors.$white;
padding-block: Spacings.$spacing06;
padding-inline: Spacings.$spacing09;
display: flex;
gap: Spacings.$spacing09;
&.feeding {
background-color: Colors.$chat-bg-gray;
}
.data_panel_wrapper {
height: 100%;
width: 30%;
}
}