mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-30 06:42:45 +00:00
Add thumbnail styling to BrewItem.less
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
min-height : 105px;
|
min-height : 105px;
|
||||||
margin-right : 15px;
|
margin-right : 15px;
|
||||||
margin-bottom : 15px;
|
margin-bottom : 15px;
|
||||||
padding : 5px 15px 2px 8px;
|
padding : 5px 15px 2px 6px;
|
||||||
padding-right : 15px;
|
padding-right : 15px;
|
||||||
border : 1px solid #c9ad6a;
|
border : 1px solid #c9ad6a;
|
||||||
border-radius : 5px;
|
border-radius : 5px;
|
||||||
@@ -19,6 +19,20 @@
|
|||||||
break-inside : avoid;
|
break-inside : avoid;
|
||||||
box-shadow : 0px 4px 5px 0px #333;
|
box-shadow : 0px 4px 5px 0px #333;
|
||||||
background-color : #cab2802e;
|
background-color : #cab2802e;
|
||||||
|
.thumbnail {
|
||||||
|
width: 80px;
|
||||||
|
height: 100px;
|
||||||
|
border: 2px solid #58180D;
|
||||||
|
border-radius: 8px;
|
||||||
|
float: left;
|
||||||
|
margin-right: 5px;
|
||||||
|
display: flex;
|
||||||
|
img.thumbnailImage {
|
||||||
|
max-width: 100%;
|
||||||
|
max-height: 100%;
|
||||||
|
margin: auto;
|
||||||
|
}
|
||||||
|
}
|
||||||
.text {
|
.text {
|
||||||
min-height : 54px;
|
min-height : 54px;
|
||||||
h4{
|
h4{
|
||||||
|
|||||||
Reference in New Issue
Block a user