image carrées pour photo portrait
This commit is contained in:
@@ -358,7 +358,8 @@
|
||||
flex-wrap: wrap;
|
||||
// margin-left: 15%;
|
||||
// padding-right: 15%;
|
||||
width: 65%;
|
||||
width: 54%;
|
||||
|
||||
margin: auto;
|
||||
// justify-items: center;
|
||||
|
||||
@@ -391,17 +392,24 @@
|
||||
|
||||
justify-content: flex-end;
|
||||
max-width: 30rem;
|
||||
min-width: 30rem;
|
||||
|
||||
.portrait {
|
||||
min-width: 10rem;
|
||||
min-height: 10rem;
|
||||
.photo {
|
||||
// min-width: 10rem;
|
||||
// min-height: 10rem;
|
||||
|
||||
// max-width:50% !important;
|
||||
background: red !important;
|
||||
overflow: hidden;
|
||||
width: 15rem !important;
|
||||
height: 15rem !important;
|
||||
// object-fit: cover;
|
||||
|
||||
img {
|
||||
max-width: 5rem !important;
|
||||
max-height: 5rem !important;
|
||||
// maxwidth: 15rem !important;
|
||||
// height: 15rem !important;
|
||||
// background-size: cover;
|
||||
width: 100%;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user