|
3 | 3 | * @author programmer2514 |
4 | 4 | * @authorId 563652755814875146 |
5 | 5 | * @description A feature-rich BetterDiscord plugin that reworks the Discord UI to be significantly more modular |
6 | | - * @version 12.2.3 |
| 6 | + * @version 12.2.4 |
7 | 7 | * @donate https://ko-fi.com/benjaminpryor |
8 | 8 | * @patreon https://www.patreon.com/BenjaminPryor |
9 | 9 | * @website https://github.com/programmer2514/BetterDiscord-CollapsibleUI |
@@ -155,14 +155,16 @@ const settings = { |
155 | 155 | const config = { |
156 | 156 | changelog: [ |
157 | 157 | { |
158 | | - title: '12.2.3', |
| 158 | + title: '12.2.4', |
159 | 159 | type: 'added', |
160 | 160 | items: [ |
161 | | - 'Fixed user profile compatibility issue with FullscreenToggle plugin', |
| 161 | + 'Fixed user area being cut off', |
| 162 | + 'Fixed a small visual glitch caused by collapsing the channel list', |
| 163 | + 'Improved UIRefreshRefresh compatibility', |
162 | 164 | ], |
163 | 165 | }, |
164 | 166 | { |
165 | | - title: '1.0.0 - 12.2.2', |
| 167 | + title: '1.0.0 - 12.2.3', |
166 | 168 | type: 'added', |
167 | 169 | items: [ |
168 | 170 | 'See the full changelog here: https://programmer2514.github.io/?l=cui-changelog', |
@@ -1327,7 +1329,7 @@ const styles = { |
1327 | 1329 |
|
1328 | 1330 | .${modules.sidebar?.guilds} { |
1329 | 1331 | transition: width var(--cui-transition-speed); |
1330 | | - border-right: 1px solid var(--border-subtle) !important; |
| 1332 | + border-right: calc(1px * var(--cui-channel-list-toggled)) solid var(--border-subtle) !important; |
1331 | 1333 | border-top: 1px solid var(--app-border-frame) !important; |
1332 | 1334 | } |
1333 | 1335 |
|
@@ -1932,6 +1934,15 @@ const styles = { |
1932 | 1934 | padding: 0 !important; |
1933 | 1935 | } |
1934 | 1936 |
|
| 1937 | + ${(runtime.api.Themes.isEnabled('UI Refresh Refresh')) |
| 1938 | + ? ` |
| 1939 | + .${modules.user?.avatar} { |
| 1940 | + transition: transform var(--cui-transition-speed) !important; |
| 1941 | + transform: translateX(calc(-4px * (1 - var(--cui-channel-list-toggled)))); |
| 1942 | + } |
| 1943 | + ` |
| 1944 | + : ''} |
| 1945 | +
|
1935 | 1946 | ${(settings.sizeCollapse) |
1936 | 1947 | ? ` |
1937 | 1948 | @media ${this.query} { |
@@ -2434,6 +2445,10 @@ const styles = { |
2434 | 2445 | init: function () { |
2435 | 2446 | // Add root styles |
2436 | 2447 | runtime.api.DOM.addStyle(`${runtime.meta.name}-root`, ` |
| 2448 | + :root { |
| 2449 | + --fst-server-list-collapsed: 0; |
| 2450 | + } |
| 2451 | +
|
2437 | 2452 | ::-webkit-scrollbar { |
2438 | 2453 | width: 0px; |
2439 | 2454 | background: transparent; |
|
0 commit comments