fix: heatmap overflow, close #1290
This commit is contained in:
@@ -112,7 +112,7 @@ export default function SubdomainIndex() {
|
||||
return (
|
||||
<DashboardMain title="Dashboard" className="max-w-screen-2xl">
|
||||
<div className="min-w-[270px] flex flex-col xl:flex-row space-y-8 xl:space-y-0">
|
||||
<div className="flex-1 space-y-8">
|
||||
<div className="flex-1 space-y-8 min-w-0">
|
||||
<div className="grid gap-4 sm:grid-cols-3 grid-cols-2">
|
||||
{statMap.map((item) => (
|
||||
<UniLink
|
||||
@@ -244,7 +244,7 @@ export default function SubdomainIndex() {
|
||||
className="inline-flex align-middle w-full"
|
||||
>
|
||||
<CharacterFloatCard siteId={site.handle}>
|
||||
<span className="w-14 h-14 inline-block">
|
||||
<span className="size-14 inline-block">
|
||||
<Image
|
||||
className="rounded-full"
|
||||
src={
|
||||
|
||||
@@ -14,7 +14,7 @@ export default function CalHeatmap({ characterId }: { characterId?: number }) {
|
||||
const t = useTranslations()
|
||||
|
||||
return (
|
||||
<div>
|
||||
<div className="overflow-x-auto">
|
||||
<div className="flex sm:gap-1 gap-[2px]">
|
||||
{calendar.data?.calendar.map((week: any, index: number) => (
|
||||
<div className="flex sm:gap-1 gap-[2px] flex-col" key={index}>
|
||||
|
||||
Reference in New Issue
Block a user