💄 fixed styling for images
Signed-off-by: Sindre Kjelsrud <kjelsrudsindre@gmail.com>
This commit is contained in:
		
							parent
							
								
									87eea7fd36
								
							
						
					
					
						commit
						78fa0926bb
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -15,7 +15,7 @@ const visitors = guestbook["visitors"];
 | 
				
			||||||
      {visitors.map((visitor) => (
 | 
					      {visitors.map((visitor) => (
 | 
				
			||||||
        <div class="flex flex-col items-center">
 | 
					        <div class="flex flex-col items-center">
 | 
				
			||||||
          <figure class="relative">
 | 
					          <figure class="relative">
 | 
				
			||||||
            <img src={visitor.image} class="rounded-s"/>
 | 
					            <img src={visitor.image} class="object-cover h-[300px] w-[300px] rounded-s"/>
 | 
				
			||||||
            <figcaption class="absolute bottom-2 left-2 bg-black text-white px-4 py-2 rounded-xl text-xs">
 | 
					            <figcaption class="absolute bottom-2 left-2 bg-black text-white px-4 py-2 rounded-xl text-xs">
 | 
				
			||||||
              <div class="guestbook">
 | 
					              <div class="guestbook">
 | 
				
			||||||
                {visitor.name} ✿ 
 | 
					                {visitor.name} ✿ 
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue