styling the V1 component

This commit is contained in:
Antoine M 2023-11-24 14:17:42 +01:00
parent 3fe709b779
commit ddd70aa431
2 changed files with 11 additions and 0 deletions

View File

@ -93,6 +93,7 @@
@import './blocks/icon.css';
@import './blocks/tips-to-know.css';
@import './blocks/google-map.css';
@import './blocks/labelled-picture.css';
/* ########### PAGE ############ */
@import './pages/demo-components.css';

View File

@ -0,0 +1,10 @@
.homegrade-blocks-labelled-picture {
@apply relative w-full;
img {
@apply rounded-lg w-full object-cover;
max-height: 300px;
}
figcaption {
@apply bg-white absolute px-8 py-2 text-center bottom-4 left-4 z-10 rounded-lg font-bold text-base;
}
}