diff --git a/src/App.css b/src/App.css index 73a237a..748db9f 100644 --- a/src/App.css +++ b/src/App.css @@ -141,12 +141,19 @@ html[data-theme="dark"] .welcome p { .loading-spinner { width: 40px; height: 40px; + max-width: 100%; + flex-shrink: 0; border: 4px solid #f3f3f3; border-top: 4px solid #8e8dd3; border-radius: 50%; animation: spin 1s linear infinite; } +html[data-theme="dark"] .loading-spinner { + border-color: #333; + border-top-color: #8e8dd3; +} + @keyframes spin { to { transform: rotate(360deg); diff --git a/src/components/Loading.jsx b/src/components/Loading.jsx deleted file mode 100644 index af91c3b..0000000 --- a/src/components/Loading.jsx +++ /dev/null @@ -1,10 +0,0 @@ - -function Loading() { - return ( -