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.1
6
+ * @version 12.2.2
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,14 @@ const settings = {
155
155
const config = {
156
156
changelog : [
157
157
{
158
- title : '12.2.1 ' ,
158
+ title : '12.2.2 ' ,
159
159
type : 'added' ,
160
160
items : [
161
- 'Fixed a tiny visual inconsistency ' ,
161
+ 'Fixed leftover spacing when collapsing button groups ' ,
162
162
] ,
163
163
} ,
164
164
{
165
- title : '1.0.0 - 12.2.0 ' ,
165
+ title : '1.0.0 - 12.2.1 ' ,
166
166
type : 'added' ,
167
167
items : [
168
168
'See the full changelog here: https://programmer2514.github.io/?l=cui-changelog' ,
@@ -1330,7 +1330,7 @@ const styles = {
1330
1330
border-right: 1px solid var(--border-subtle) !important;
1331
1331
border-top: 1px solid var(--app-border-frame) !important;
1332
1332
}
1333
-
1333
+
1334
1334
.${ modules . scroller ?. tree } {
1335
1335
padding-top: var(--space-xs) !important;
1336
1336
}
@@ -1369,7 +1369,7 @@ const styles = {
1369
1369
:root {
1370
1370
--cui-server-list-toggled: 0;
1371
1371
}
1372
-
1372
+
1373
1373
.${ modules . sidebar ?. guilds } {
1374
1374
position: absolute !important;
1375
1375
z-index: 192 !important;
@@ -1645,7 +1645,7 @@ const styles = {
1645
1645
transition: max-width var(--cui-transition-speed), width var(--cui-transition-speed), min-width var(--cui-transition-speed);
1646
1646
min-height: 100% !important;
1647
1647
}
1648
-
1648
+
1649
1649
.${ modules . guilds ?. content } .${ modules . panel ?. outer } .${ modules . panel ?. inner } {
1650
1650
border-left: 1px solid var(--border-subtle) !important;
1651
1651
}
@@ -1742,7 +1742,7 @@ const styles = {
1742
1742
max-height: calc(var(--custom-channel-textarea-text-area-max-height) + 24px) !important;
1743
1743
transition: max-height var(--cui-transition-speed) !important;
1744
1744
}
1745
-
1745
+
1746
1746
${ ( settings . sizeCollapse )
1747
1747
? `
1748
1748
@media ${ this . query } {
@@ -1803,7 +1803,7 @@ const styles = {
1803
1803
.${ modules . sidebar ?. base } {
1804
1804
transition: grid-template-rows var(--cui-transition-speed) !important;
1805
1805
}
1806
-
1806
+
1807
1807
${ ( settings . sizeCollapse )
1808
1808
? `
1809
1809
@media ${ this . query } {
@@ -1883,7 +1883,7 @@ const styles = {
1883
1883
border-top: none !important;
1884
1884
border-bottom: 1px solid var(--border-subtle) !important;
1885
1885
}
1886
-
1886
+
1887
1887
${ ( settings . sizeCollapse )
1888
1888
? `
1889
1889
@media ${ this . query } {
@@ -1931,7 +1931,7 @@ const styles = {
1931
1931
.${ modules . userAreaButtons ?. actionButtons } button {
1932
1932
padding: 0 !important;
1933
1933
}
1934
-
1934
+
1935
1935
${ ( settings . sizeCollapse )
1936
1936
? `
1937
1937
@media ${ this . query } {
@@ -2224,7 +2224,7 @@ const styles = {
2224
2224
}
2225
2225
`
2226
2226
: '' }
2227
-
2227
+
2228
2228
${ ( settings . sizeCollapse )
2229
2229
? `
2230
2230
@media ${ this . query } {
@@ -2286,9 +2286,10 @@ const styles = {
2286
2286
}
2287
2287
2288
2288
.${ modules . user ?. buttons } {
2289
+ transition: gap var(--cui-transition-speed) !important;
2289
2290
transform: translateX(calc((1 - var(--cui-channel-list-toggled)) * 1000000000px));
2290
2291
}
2291
-
2292
+
2292
2293
.${ modules . user ?. buttons } > *:not(:nth-last-child(2)):not(.gameActivityToggleButton_fd3fb5) {
2293
2294
transition: width var(--cui-transition-speed) !important;
2294
2295
overflow: hidden !important;
@@ -2298,6 +2299,10 @@ const styles = {
2298
2299
} ,
2299
2300
hide : function ( ) {
2300
2301
runtime . api . DOM . addStyle ( `${ runtime . meta . name } -settingsButtons_hide_col` , `
2302
+ .${ modules . user ?. buttons } {
2303
+ gap: 0px !important;
2304
+ }
2305
+
2301
2306
.${ modules . user ?. buttons } > *:not(:nth-last-child(2)):not(.gameActivityToggleButton_fd3fb5) {
2302
2307
width: 0px !important;
2303
2308
}
@@ -2319,6 +2324,10 @@ const styles = {
2319
2324
hidden : false ,
2320
2325
init : function ( ) {
2321
2326
runtime . api . DOM . addStyle ( `${ runtime . meta . name } -messageInputButtons_init_col` , `
2327
+ .${ modules . input ?. buttons } {
2328
+ transition: gap var(--cui-transition-speed) !important;
2329
+ }
2330
+
2322
2331
.${ modules . input ?. buttons } > *:not(:last-child) {
2323
2332
transition: max-width var(--cui-transition-speed) !important;
2324
2333
max-width: ${ settings . messageInputButtonWidth } px !important;
@@ -2329,6 +2338,10 @@ const styles = {
2329
2338
} ,
2330
2339
hide : function ( ) {
2331
2340
runtime . api . DOM . addStyle ( `${ runtime . meta . name } -messageInputButtons_hide_col` , `
2341
+ .${ modules . input ?. buttons } {
2342
+ gap: 0px !important;
2343
+ }
2344
+
2332
2345
.${ modules . input ?. buttons } > *:not(:last-child) {
2333
2346
max-width: 0px !important;
2334
2347
}
0 commit comments