Skip to content

Commit

Permalink
Merge pull request #60 from cozykitten/master
Browse files Browse the repository at this point in the history
fixes message attachment
  • Loading branch information
CapnKitten authored Oct 6, 2023
2 parents 0c65b5d + 158f1d8 commit 795ef39
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 20 deletions.
18 changes: 11 additions & 7 deletions Themes/Translucence/css/source.css
Original file line number Diff line number Diff line change
Expand Up @@ -2225,21 +2225,19 @@ body {
}

/* ATTACHMENTS -> TEXT CONTAINER */
.textContainer-36wgKK,
.footer-GXWBBp {
.newMosaicStyle-2jdUaP .textContainer-36wgKK,
.newMosaicStyle-2jdUaP .footer-GXWBBp {
background-color: var(--card-color);
border: none;
border-radius: 0 0 var(--card-radius) var(--card-radius);
}

.newMosaicStyle-35X6XO .textContainer-36wgKK {
.newMosaicStyle-2jdUaP .textContainer-36wgKK {
border-radius: var(--card-radius) var(--card-radius) 0 0;
box-shadow: var(--card-header-shadow);
}
.newMosaicStyle-35X6XO .textContainer-36wgKK .hljs {
.newMosaicStyle-2jdUaP .textContainer-36wgKK .hljs {
background-color: transparent;
}
.newMosaicStyle-35X6XO .footer-GXWBBp {
.newMosaicStyle-2jdUaP .footer-GXWBBp {
border-radius: 0 0 var(--card-radius) var(--card-radius);
}

Expand Down Expand Up @@ -5111,3 +5109,9 @@ body {
.profileBannerPreview-3mLIdO .fakeActivityWrapper-2i1oU- {
padding: 0 16px 0;
}

/*
*
* USER SETTINGS SERVER BOOST
*
*/
2 changes: 1 addition & 1 deletion Themes/Translucence/src/_selectorPlaceholders.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3400,7 +3400,7 @@
.attachment-1PZZB2 {
@extend %attachment !optional;
}
.newMosaicStyle-35X6XO {
.newMosaicStyle-2jdUaP {
@extend %attachmentNewMosaicStyle !optional;
}
.nonMediaAttachment-3C_4Pd {
Expand Down
24 changes: 12 additions & 12 deletions Themes/Translucence/src/messages/_attachment.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
%embedCard,
%threadEmbed {
background-color: var(--card-color);
border-radius: var(--card-radius);
border-radius: var(--card-radius);
}

%embedCardWithFooter {
Expand Down Expand Up @@ -39,17 +39,17 @@
%activityInvite,
%playerAudio {
background-color: var(--card-color) !important;
border-radius: var(--card-radius);
border-radius: var(--card-radius);
border: none;
}

%inviteSplash {
border-top-right-radius: var(--card-radius);
border-top-left-radius: var(--card-radius);
border-top-left-radius: var(--card-radius);
}

%voiceMessageContainer {
background-color: var(--card-color);
background-color: var(--card-color);
}

%voiceMessageContainerRipple {
Expand All @@ -70,14 +70,14 @@

/* ATTACHMENTS -> TEXT CONTAINER */

%textContainer,
%textContainerFooter {
background-color: var(--card-color);
border: none;
border-radius: 0 0 var(--card-radius) var(--card-radius);
}

%attachmentNewMosaicStyle {

%textContainer,
%textContainerFooter {
background-color: var(--card-color);
border: none;
}

%textContainer {
border-radius: var(--card-radius) var(--card-radius) 0 0;
box-shadow: var(--card-header-shadow);
Expand All @@ -101,4 +101,4 @@
%codeHLJS {
background-color: transparent;
}
}
}

0 comments on commit 795ef39

Please sign in to comment.