mirror of
https://github.com/gabehf/Koito.git
synced 2026-03-13 09:30:27 -07:00
fix: a couple ui fixes (#147)
* fix: reduce loading component width * improve theme selector for mobile * match interest graph width to activity grid
This commit is contained in:
parent
1eb1cd0fd5
commit
aa7fddd518
5 changed files with 43 additions and 23 deletions
|
|
@ -68,14 +68,14 @@ export default function ActivityGrid({
|
|||
|
||||
if (isPending) {
|
||||
return (
|
||||
<div className="w-[500px]">
|
||||
<div className="w-[350px]">
|
||||
<h3>Activity</h3>
|
||||
<p>Loading...</p>
|
||||
</div>
|
||||
);
|
||||
} else if (isError) {
|
||||
return (
|
||||
<div className="w-[500px]">
|
||||
<div className="w-[350px]">
|
||||
<h3>Activity</h3>
|
||||
<p className="error">Error: {error.message}</p>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue