Reduce icon size on load / error screens
Some checks are pending
myip.wtf / build (push) Waiting to run
myip.wtf / tests (push) Waiting to run

This commit is contained in:
0x1eef 2024-09-03 01:30:31 -03:00
parent 690925421a
commit 16c92cc451
2 changed files with 6 additions and 6 deletions

8
package-lock.json generated
View file

@ -1,12 +1,12 @@
{ {
"name": "myip.wtf", "name": "wimi",
"version": "0.5.0", "version": "0.7.0",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "myip.wtf", "name": "wimi",
"version": "0.5.0", "version": "0.7.0",
"dependencies": { "dependencies": {
"preact": "^10.23.2" "preact": "^10.23.2"
}, },

View file

@ -18,7 +18,7 @@ export function App() {
return ( return (
<div data-testid="error" className="h-14 flex flex-col justify-center"> <div data-testid="error" className="h-14 flex flex-col justify-center">
<div className="p-2 flex items-center h-full min-w-48 justify-center"> <div className="p-2 flex items-center h-full min-w-48 justify-center">
<img data-testid="error" className="w-8 h-8" src="/images/icon.svg" /> <img data-testid="error" className="w-6 h-6" src="/images/icon.svg" />
</div> </div>
</div> </div>
); );
@ -26,7 +26,7 @@ export function App() {
return ( return (
<div data-testid="loading" className="h-14 flex flex-col justify-center"> <div data-testid="loading" className="h-14 flex flex-col justify-center">
<div className="flex flex-col items-center h-full min-w-48 justify-center"> <div className="flex flex-col items-center h-full min-w-48 justify-center">
<img data-testid="spin" className="w-8 h-8" src="/images/icon.svg" /> <img data-testid="spin" className="w-6 h-6" src="/images/icon.svg" />
</div> </div>
</div> </div>
); );