Skip to content

Commit

Permalink
discord: fix userProfile width
Browse files Browse the repository at this point in the history
  • Loading branch information
KraXen72 committed Jun 28, 2024
1 parent 146f253 commit 1765200
Show file tree
Hide file tree
Showing 6 changed files with 56 additions and 17 deletions.
2 changes: 1 addition & 1 deletion discord/dist/main.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion discord/dist/main.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions discord/dist/roseboxUserStyle.user.css

Large diffs are not rendered by default.

61 changes: 50 additions & 11 deletions discord/lib/_mappings.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1120,6 +1120,9 @@
.redesignIconChildContainer_ff7d90 {
@extend %guildIconChildContainer !optional;
}
.premiumTrialAcknowledgedBadge_b089d3 {
@extend %nitroTrialBadge !optional;
}
.wrapper_fbb822 {
@extend %scrollerWrap !optional;
}
Expand Down Expand Up @@ -1186,12 +1189,24 @@
.input_cebd1c {
@extend %switchCheckbox !optional;
}
.item_a0 {
@extend %tabBarItem !optional;
.top_a0 {
@extend %tabBarTop !optional;
}
.side_a0 {
@extend %tabBarSide !optional;
}
.brand_a0 {
@extend %tabBarBrand !optional;
}
.topPill_a0 {
@extend %tabBarTopPill !optional;
}
.themed_a0 {
@extend %tabBarThemed !optional;
}
.item_a0 {
@extend %tabBarItem !optional;
}
.selected_a0 {
@extend %tabBarItemSelected !optional;
}
Expand Down Expand Up @@ -2490,6 +2505,12 @@ pre {
.userProfileOuterThemed_c69a7b {
@extend %userProfileOuterThemed !optional;
}
.statusBubbleOuter_d0a252 {
@extend %userProfileStatusBubbleOuter !optional;
}
.statusBubble_d0a252 {
@extend %userProfileStatusBubble !optional;
}
.userPanelInnerThemed_c69a7b {
@extend %userProfileDMInnerThemed !optional;
}
Expand Down Expand Up @@ -2548,6 +2569,9 @@ pre {
.messageInputContainer_f2c0a8 {
@extend %userPopoutMessageInputContainer !optional;
}
.menu_d4e7c2 {
@extend %userPopoutMenu !optional;
}
.userProfileModalOuter_c69a7b {
@extend %userModalOuter !optional;
}
Expand Down Expand Up @@ -3181,9 +3205,6 @@ pre {
.sidebar_c25c6d {
@extend %settingsSidebar !optional;
}
.side_a0 {
@extend %settingsSide !optional;
}
.selectedBackground_ae3c77 {
@extend %settingsSidebarScrollerSelectedBackground !optional;
}
Expand Down Expand Up @@ -3235,12 +3256,6 @@ pre {
.header_bd05f1 {
@extend %guildSettingsRoleHeader !optional;
}
.top_a0 {
@extend %guildSettingsRoleHeaderTabTop !optional;
}
.brand_a0 {
@extend %guildSettingsRoleHeaderTabBrand !optional;
}
.previewContainer_bdfce3 {
@extend %guildSettingsRoleIconPreview !optional;
}
Expand Down Expand Up @@ -3745,6 +3760,21 @@ pre {
.upsellOverlay_eb49af {
@extend %userSettingsProfileUpsellOverlay !optional;
}
.container_f7ea1b {
@extend %userSettingsPrivacyStandingContainer !optional;
}
.avatarBackground_bb882a {
@extend %userSettingsPrivacyStandingAvatarBG !optional;
}
.line_f7ea1b {
@extend %userSettingsPrivacyStandingLine !optional;
}
.marker_f7ea1b {
@extend %userSettingsPrivacyStandingMarker !optional;
}
.empty_f7ea1b {
@extend %userSettingsPrivacyStandingMarkerEmpty !optional;
}
.container_b01337,
.container_d7c696,
.container_a2e886 {
Expand Down Expand Up @@ -3775,9 +3805,15 @@ pre {
.accountBtnInner_ec99f9 {
@extend %userSettingsConnectionsButtonInner !optional;
}
.perkCard_d611db {
@extend %userSettingsNitroPerkCard !optional;
}
.giftCard_cf74b3 {
@extend %userSettingsNitroGiftCard !optional;
}
.expandedProgressBarContainerSettingsPage_c88bb1 {
@extend %userSettingsNitroShareCard !optional;
}
.wave_e74e54 {
@extend %userSettingsBoostHeaderWave !optional;
}
Expand Down Expand Up @@ -4955,6 +4991,9 @@ pre {
.gifIconContainer_f2f431 {
@extend %avatarGifIconContainer !optional;
}
.editingContainer_ba5b9e {
@extend %avatarEditingContainer !optional;
}
.decorationGridItem_b35b54 {
@extend %avatarDecoItem !optional;
}
Expand Down
2 changes: 1 addition & 1 deletion discord/modules/_userPopout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ $up-br-inner: calc($up-br-outer - $up-spacing-thin);
}

// nitro theme fixes
%userProfileOuterThemed {
%userProfileOuterThemed:is(%bitesizePopoutOuter) {
// nitro popouts are too wide because they're 300px + 4px each side
// and no border-box by default
box-sizing: border-box;
Expand Down
2 changes: 1 addition & 1 deletion discord/scripts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rosebox-discord-css",
"version": "3.16.0",
"version": "3.16.1",
"description": "scripts for rosebox scss",
"main": "watcher.js",
"scripts": {
Expand Down

0 comments on commit 1765200

Please sign in to comment.