Skip to content

Commit

Permalink
Refactor Chat Container and Menu styles for improved layout and code …
Browse files Browse the repository at this point in the history
…clarity

- Adjusted width of the menu container for better alignment and spacing.
- Updated padding in the menu search area to enhance layout consistency.
- Modified background color of the Chat Container for a more cohesive design.
- Commented out unused styles to streamline the codebase and improve maintainability.

These changes contribute to a more visually appealing and organized Chat interface.
  • Loading branch information
trheyi committed Dec 23, 2024
1 parent 3867062 commit d2d60f6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions packages/xgen/layouts/wrappers/Chat/Container/menu.less
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
.menu_container {
width: 240px;
width: 220px;
height: 100%;

// border-right: 1px solid var(--color_border_soft);
border-right: 1px solid var(--color_border_soft);
// background: rgba(255, 255, 255, 0.3);
// backdrop-filter: blur(10px);
// -webkit-backdrop-filter: blur(10px);
Expand Down Expand Up @@ -91,10 +91,10 @@

.menu_search {
height: 60px;
padding: 16px;
padding-top: 24px;
padding-bottom: 8px;
// border-bottom: 1px solid var(--color_border_soft);
padding: 24px 16px;
// padding-top: 24px;
// padding-bottom: 8px;
border-bottom: 1px solid var(--color_border_soft);
display: flex;
align-items: center;

Expand Down
6 changes: 3 additions & 3 deletions packages/xgen/layouts/wrappers/Chat/Container/style.less
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
padding: 0;
min-width: 0;
position: relative;
background-color: var(--color_bg_menu);
border-radius: 16px;
margin: 16px;
background-color: var(--color_bg);
// border-radius: 16px;
// margin: 16px;
}

.content_wrapper {
Expand Down

0 comments on commit d2d60f6

Please sign in to comment.