update src/components/Blogss/design2/index.js, src/components/Button/index.js and tailwind.config.js

master
mahdi andalib 3 years ago
parent d083715028
commit 7dd82e7670
  1. 16
      src/components/Blogss/design2/index.js

@ -16,14 +16,14 @@ const BlogDesign2 = ({
return (
<div
className="group min-w-[550px] relative flex flex-col justify-end p-4 cursor-pointer"
// style={{
// backgroundImage: `url(${featuredImage})`,
// backgroundSize: "100% 100%",
// backgroundRepeat: "no-repeat",
// // minHeight: "300px",
// height: "calc(100vh/3)",
// maxHeight: "300px",
// }}
style={{
backgroundImage: `url(${featuredImage})`,
backgroundSize: "100% 100%",
backgroundRepeat: "no-repeat",
// minHeight: "300px",
height: "calc(100vh/3)",
maxHeight: "300px",
}}
>
{dateButton && (
<Button

Loading…
Cancel
Save