From 4e24658272b4966bc185905d64c7b836a0b902a8 Mon Sep 17 00:00:00 2001 From: KingRainbow44 Date: Sun, 22 May 2022 23:49:59 -0400 Subject: [PATCH] hey i tried (Implement dyn. background) --- src/ui/App.css | 2 +- src/ui/App.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ui/App.css b/src/ui/App.css index b07f737..3e502b0 100644 --- a/src/ui/App.css +++ b/src/ui/App.css @@ -27,7 +27,7 @@ select:focus { } .App { - background: url("https://webstatic.hoyoverse.com/upload/event/2020/11/04/7fd661b5184e1734f91f628b6f89a31f_7367318474207189623.png") no-repeat center center fixed; + /*background: url("https://webstatic.hoyoverse.com/upload/event/2020/11/04/7fd661b5184e1734f91f628b6f89a31f_7367318474207189623.png") no-repeat center center fixed; */ -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; diff --git a/src/ui/App.tsx b/src/ui/App.tsx index d277e6b..9ab463f 100644 --- a/src/ui/App.tsx +++ b/src/ui/App.tsx @@ -39,7 +39,7 @@ class App extends React.Component { optionsOpen: false, miniDownloadsOpen: false, downloadsOpen: false, - bgFile: '', + bgFile: 'https://webstatic.hoyoverse.com/upload/event/2020/11/04/7fd661b5184e1734f91f628b6f89a31f_7367318474207189623.png', } listen('lang_error', (payload) => { @@ -74,7 +74,7 @@ class App extends React.Component { return (