Skip to content

Commit

Permalink
Fixed chatbox
Browse files Browse the repository at this point in the history
  • Loading branch information
Gibbu committed Jun 7, 2024
1 parent 6410066 commit 04c711b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 110 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@
},
"devDependencies": {
"prettier": "^3.2.5"
}
},
"packageManager": "[email protected]+sha512.b051a32c7e695833b84926d3b29b8cca57254b589f0649d899c6e9d0edb670b91ec7e2a43459bae73759bb5ce619c3266f116bf931ce22d1ef1759a7e45aa96f"
}
6 changes: 5 additions & 1 deletion src/theme/chat/_textbox.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,14 @@
border-left: none;
border-radius: 0 var(--rounded) var(--rounded) 0;
box-sizing: border-box;
&::before {
&::before,
&::after {
content: none;
}
}
.channelTextAreaContainer__37a67 {
width: 100%;
}
.channelTextArea_c2094b {
margin: 0;
background: var(--bg-alt);
Expand Down
2 changes: 1 addition & 1 deletion src/theme/modals/_modal.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@use '../mixins';

#app-mount .root_a28985:not(.modal_d2e7a7, .carouselModal__7e22f, .root-2uUafN, .root-8LYsGj) {
#app-mount .root_a28985:not(.modal_d2e7a7, .carouselModal__7e22f, .root-2uUafN, .root_a28985) {
border: 1px solid var(--border-high);
border-radius: var(--rounded);
background: var(--bg-content);
Expand Down
107 changes: 0 additions & 107 deletions src/theme/profile/_modal.scss
Original file line number Diff line number Diff line change
@@ -1,110 +1,3 @@
@use '../mixins';
@use '../assets/mono';
@use '../classes' as *;

$banner-height: 300px;

#app-mount {
.userProfileModalOuter_a65559 {
border-radius: var(--rounded);
width: clamp(var(--profile-modal-width), 100vmax, var(--profile-modal-width));
height: clamp(var(--profile-modal-height), 100vmax, var(--profile-modal-height));
padding: 0;
overflow: hidden;
display: flex;
flex-direction: column;
.bannerSVGWrapper__8a38c {
min-height: unset !important;
min-width: unset !important;
width: 100%;
border-radius: var(--rounded);
overflow: hidden;
mask: linear-gradient(white, transparent);
foreignObject {
all: unset;
mask: none;
width: 100%;
height: 100%;
}
.banner__6d414 {
height: 100%;
width: 100%;
min-height: unset;
div {
display: none;
}
}
}
.topSection-13QKHs {
margin: 0;
}
.header-S26rhB {
position: absolute;
top: 0;
width: 100%;
}
.avatar-3QF_VA {
right: 24px;
top: 24px;
left: unset;
background: hsl(0 0% 100% / 0.2);
border-color: transparent;
box-shadow: 0 0 0 12px hsl(0 0% 100% / 0.2);
circle[fill='black'] {
fill: transparent;
}
}
.headerTop-1PNKck {
position: unset;
}
.badgeList-2aoHPw {
position: absolute;
top: 224px;
right: 24px;
margin: 0;
}
}
.userProfileModalInner__99b1e {
&::before {
width: 100%;
height: 100%;
}
}
.userProfileModalOverlayBackground__7ec35 {
margin: 0;
border-radius: 0;
background: transparent;
flex: 1;
overflow: visible;
position: unset;
}
.body-1Ukv50 {
flex: 1;
overflow: visible;
height: 100px;
position: unset;

.scrollerBase_f742b2 {
padding: 24px !important;
}
}
.container-3g15px {
padding: 12px 24px;
}
.tabBarContainer-sCZC4w {
margin: 0;
padding: 12px 12px 0;
}
.container-3g15px {
& > div:first-child {
position: absolute;
top: 24px;
left: 24px;
text-shadow: 0 2px 5px black;
}
& > div:last-child {
position: relative;
z-index: 1;
}
}
}

0 comments on commit 04c711b

Please sign in to comment.