Account for smaller screens

merge-requests/1581/head
Justin 2022-06-28 14:26:59 -04:00
rodzic 825f5566a0
commit e3d976a2e7
2 zmienionych plików z 10 dodań i 2 usunięć

Wyświetl plik

@ -9,7 +9,7 @@ interface IBackgroundShapes {
/** Gradient that appears in the background of the UI. */
const BackgroundShapes: React.FC<IBackgroundShapes> = ({ position = 'fixed' }) => (
<div className={classNames(position, 'top-0 inset-x-0 flex justify-center overflow-hidden pointer-events-none')}>
<div className='w-screen h-screen bg-gradient' />
<div className='w-screen h-screen bg-gradient-sm lg:bg-gradient-lg' />
</div>
);

Wyświetl plik

@ -94,7 +94,7 @@
height: 100dvh;
}
.bg-gradient {
.bg-gradient-lg {
background: linear-gradient(
112deg,
rgba(0, 0, 0, 0) 0%,
@ -105,6 +105,14 @@
rgba(0, 0, 0, 0) 100%
);
}
.bg-gradient-sm {
background: linear-gradient(
112deg,
rgba(var(--color-gradient-start) / 0.1) 0%,
rgba(var(--color-gradient-end) / 0.1) 50%
);
}
}
@import 'forms';