Fixed background image size for info section
This commit is contained in:
parent
3a9c8a8488
commit
a7e5c8abac
|
|
@ -6,7 +6,7 @@ import Button from "./ui/Button.astro";
|
||||||
const background = props.bgImage || props.bgColor;
|
const background = props.bgImage || props.bgColor;
|
||||||
|
|
||||||
---
|
---
|
||||||
<div style={{ background: props.bgImage ? `url('${props.bgImage}') center/cover no-repeat` : props.bgColor }} class={`aspect-square bg-cover py-12 px-16 flex flex-col justify-evenly`}>
|
<div style={{ background: props.bgImage ? `url('${props.bgImage}') center no-repeat; background-size:680px;` : props.bgColor }} class={`aspect-square py-12 px-16 flex flex-col justify-evenly`}>
|
||||||
|
|
||||||
<div class="flex flex-col gap-6">
|
<div class="flex flex-col gap-6">
|
||||||
{props.hasIcon && (
|
{props.hasIcon && (
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue