Account for smaller screens
This commit is contained in:
parent
825f5566a0
commit
e3d976a2e7
2 changed files with 10 additions and 2 deletions
|
@ -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>
|
||||
);
|
||||
|
||||
|
|
|
@ -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';
|
||||
|
|
Loading…
Reference in a new issue