33 * @author programmer2514
44 * @authorId 563652755814875146
55 * @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
77 * @donate https://ko-fi.com/benjaminpryor
88 * @patreon https://www.patreon.com/BenjaminPryor
99 * @website https://github.com/programmer2514/BetterDiscord-CollapsibleUI
@@ -155,14 +155,14 @@ const settings = {
155155const config = {
156156 changelog : [
157157 {
158- title : '12.2.1 ' ,
158+ title : '12.2.2 ' ,
159159 type : 'added' ,
160160 items : [
161- 'Fixed a tiny visual inconsistency ' ,
161+ 'Fixed leftover spacing when collapsing button groups ' ,
162162 ] ,
163163 } ,
164164 {
165- title : '1.0.0 - 12.2.0 ' ,
165+ title : '1.0.0 - 12.2.1 ' ,
166166 type : 'added' ,
167167 items : [
168168 'See the full changelog here: https://programmer2514.github.io/?l=cui-changelog' ,
@@ -1330,7 +1330,7 @@ const styles = {
13301330 border-right: 1px solid var(--border-subtle) !important;
13311331 border-top: 1px solid var(--app-border-frame) !important;
13321332 }
1333-
1333+
13341334 .${ modules . scroller ?. tree } {
13351335 padding-top: var(--space-xs) !important;
13361336 }
@@ -1369,7 +1369,7 @@ const styles = {
13691369 :root {
13701370 --cui-server-list-toggled: 0;
13711371 }
1372-
1372+
13731373 .${ modules . sidebar ?. guilds } {
13741374 position: absolute !important;
13751375 z-index: 192 !important;
@@ -1645,7 +1645,7 @@ const styles = {
16451645 transition: max-width var(--cui-transition-speed), width var(--cui-transition-speed), min-width var(--cui-transition-speed);
16461646 min-height: 100% !important;
16471647 }
1648-
1648+
16491649 .${ modules . guilds ?. content } .${ modules . panel ?. outer } .${ modules . panel ?. inner } {
16501650 border-left: 1px solid var(--border-subtle) !important;
16511651 }
@@ -1742,7 +1742,7 @@ const styles = {
17421742 max-height: calc(var(--custom-channel-textarea-text-area-max-height) + 24px) !important;
17431743 transition: max-height var(--cui-transition-speed) !important;
17441744 }
1745-
1745+
17461746 ${ ( settings . sizeCollapse )
17471747 ? `
17481748 @media ${ this . query } {
@@ -1803,7 +1803,7 @@ const styles = {
18031803 .${ modules . sidebar ?. base } {
18041804 transition: grid-template-rows var(--cui-transition-speed) !important;
18051805 }
1806-
1806+
18071807 ${ ( settings . sizeCollapse )
18081808 ? `
18091809 @media ${ this . query } {
@@ -1883,7 +1883,7 @@ const styles = {
18831883 border-top: none !important;
18841884 border-bottom: 1px solid var(--border-subtle) !important;
18851885 }
1886-
1886+
18871887 ${ ( settings . sizeCollapse )
18881888 ? `
18891889 @media ${ this . query } {
@@ -1931,7 +1931,7 @@ const styles = {
19311931 .${ modules . userAreaButtons ?. actionButtons } button {
19321932 padding: 0 !important;
19331933 }
1934-
1934+
19351935 ${ ( settings . sizeCollapse )
19361936 ? `
19371937 @media ${ this . query } {
@@ -2224,7 +2224,7 @@ const styles = {
22242224 }
22252225 `
22262226 : '' }
2227-
2227+
22282228 ${ ( settings . sizeCollapse )
22292229 ? `
22302230 @media ${ this . query } {
@@ -2286,9 +2286,10 @@ const styles = {
22862286 }
22872287
22882288 .${ modules . user ?. buttons } {
2289+ transition: gap var(--cui-transition-speed) !important;
22892290 transform: translateX(calc((1 - var(--cui-channel-list-toggled)) * 1000000000px));
22902291 }
2291-
2292+
22922293 .${ modules . user ?. buttons } > *:not(:nth-last-child(2)):not(.gameActivityToggleButton_fd3fb5) {
22932294 transition: width var(--cui-transition-speed) !important;
22942295 overflow: hidden !important;
@@ -2298,6 +2299,10 @@ const styles = {
22982299 } ,
22992300 hide : function ( ) {
23002301 runtime . api . DOM . addStyle ( `${ runtime . meta . name } -settingsButtons_hide_col` , `
2302+ .${ modules . user ?. buttons } {
2303+ gap: 0px !important;
2304+ }
2305+
23012306 .${ modules . user ?. buttons } > *:not(:nth-last-child(2)):not(.gameActivityToggleButton_fd3fb5) {
23022307 width: 0px !important;
23032308 }
@@ -2319,6 +2324,10 @@ const styles = {
23192324 hidden : false ,
23202325 init : function ( ) {
23212326 runtime . api . DOM . addStyle ( `${ runtime . meta . name } -messageInputButtons_init_col` , `
2327+ .${ modules . input ?. buttons } {
2328+ transition: gap var(--cui-transition-speed) !important;
2329+ }
2330+
23222331 .${ modules . input ?. buttons } > *:not(:last-child) {
23232332 transition: max-width var(--cui-transition-speed) !important;
23242333 max-width: ${ settings . messageInputButtonWidth } px !important;
@@ -2329,6 +2338,10 @@ const styles = {
23292338 } ,
23302339 hide : function ( ) {
23312340 runtime . api . DOM . addStyle ( `${ runtime . meta . name } -messageInputButtons_hide_col` , `
2341+ .${ modules . input ?. buttons } {
2342+ gap: 0px !important;
2343+ }
2344+
23322345 .${ modules . input ?. buttons } > *:not(:last-child) {
23332346 max-width: 0px !important;
23342347 }
0 commit comments