@@ -2,7 +2,7 @@ import { useCallback, useEffect, useLayoutEffect, useMemo, useRef, useState } fr
22import { IS_DESKTOP } from "vx:self" ;
33import { Page } from "../.." ;
44import { internalDataStore } from "../../../api/storage" ;
5- import { Button , Collapsable , Flex , Icons , Spinner } from "../../../components" ;
5+ import { Button , Collapsable , Flex , Icons , Markdown , Spinner } from "../../../components" ;
66import { FormSwitch } from "../../../components/switch" ;
77import { app , nativeFrame , transparency } from "../../../native" ;
88import { Updater } from "./updater" ;
@@ -180,7 +180,7 @@ export function Home() {
180180 } , [ ] ) ;
181181
182182 return (
183- < Page title = "Home" icon = { Icons . Logo } >
183+ < Page title = "Home" icon = { Icons . Logo } bodyClassName = "vx-home-page" >
184184 < RainbowText >
185185 < div className = "vx-home-header" >
186186 < div className = "vx-home-logo" onClick = { changeBackground } >
@@ -212,8 +212,6 @@ export function Home() {
212212
213213 < Updater />
214214
215- < div style = { { marginTop : 10 } } />
216-
217215 < Category
218216 title = "Notifications"
219217 subtitle = "Configure notifications here"
@@ -236,8 +234,6 @@ export function Home() {
236234
237235 { IS_DESKTOP && (
238236 < >
239- < div style = { { marginTop : 10 } } />
240-
241237 < Category
242238 title = "Window Settings"
243239 subtitle = "Settings for the browser window"
@@ -252,7 +248,6 @@ export function Home() {
252248 internalDataStore . set ( "content-protection" , value ) ;
253249 window . DiscordNative ! . window . setContentProtection ! ( value ) ;
254250 } }
255- style = { { marginTop : 20 } }
256251 note = { Messages . CONTENT_PROTECTION_NOTE }
257252 >
258253 { Messages . CONTENT_PROTECTION }
@@ -295,8 +290,6 @@ export function Home() {
295290 </ Category >
296291 </ >
297292 ) }
298-
299- < div style = { { marginTop : 10 } } />
300293
301294 < Category
302295 title = "VX Settings"
@@ -310,7 +303,6 @@ export function Home() {
310303 setUserSettingShortcut ( value ) ;
311304 internalDataStore . set ( "user-setting-shortcut" , value ) ;
312305 } }
313- style = { { marginTop : 20 } }
314306 note = { Messages . USER_SETTINGS_SHORTCUT_NOTE }
315307 >
316308 { Messages . USER_SETTINGS_SHORTCUT }
@@ -353,7 +345,7 @@ export function Home() {
353345 >
354346 { Messages . ADD_VX_TO_TITLEBAR }
355347 </ FormSwitch >
356- </ Category >
348+ </ Category >
357349 </ RainbowText >
358350 </ Page >
359351 )
0 commit comments