mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-01 16:55:21 +03:00
styling
This commit is contained in:
parent
0d490e6727
commit
378b743866
@ -38,7 +38,3 @@ Could not find a proper tailwind css.
|
||||
.outer-max-width {
|
||||
max-width: 60%;
|
||||
}
|
||||
.aspect-ratio-box {
|
||||
padding-top: calc(9 / 16 * 100%);
|
||||
padding-bottom: 20%;
|
||||
}
|
||||
|
||||
@ -92,8 +92,7 @@ export default function Event({ eventId, close, scrollRef }) {
|
||||
) : null}
|
||||
</div>
|
||||
<div className="outer-max-width m-auto">
|
||||
<div className="aspect-ratio-box w-full relative">
|
||||
<div className="absolute w-full top-10 left-0">
|
||||
<div className="w-full pt-5 relative pb-20">
|
||||
{data.has_clip ? (
|
||||
<Fragment>
|
||||
<Heading size="lg">Clip</Heading>
|
||||
@ -129,6 +128,5 @@ export default function Event({ eventId, close, scrollRef }) {
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user