frontend: Hotfix Loader height
This commit is contained in:
parent
ea13959c91
commit
c7115144bf
@ -15,7 +15,7 @@ const FunctionCard = forwardRef((props, ref) => {
|
|||||||
<Link href={`/functions/${props.slug}`}>
|
<Link href={`/functions/${props.slug}`}>
|
||||||
<Fragment>
|
<Fragment>
|
||||||
{/* Elément à une hauteur pendant chargement */}
|
{/* Elément à une hauteur pendant chargement */}
|
||||||
<div ref={ref} style={isLoading ? { height: "200px", justifyContent: "center" } : null} className={"FunctionCard col-sm-24 col-md-10 col-xl-7"}>
|
<div ref={ref} style={isLoading ? { height: "360px", justifyContent: "center" } : null} className={"FunctionCard col-sm-24 col-md-10 col-xl-7"}>
|
||||||
{isLoading && <Loader width="125px" height="125px" />}
|
{isLoading && <Loader width="125px" height="125px" />}
|
||||||
<div className={`FunctionCard__container ${isLoading ? "d-none" : ""}`}>
|
<div className={`FunctionCard__container ${isLoading ? "d-none" : ""}`}>
|
||||||
<div className="FunctionCard__top">
|
<div className="FunctionCard__top">
|
||||||
|
Reference in New Issue
Block a user