mirror of
https://github.com/friendica/friendica
synced 2024-12-23 10:00:20 +00:00
vier: use object-fit: cover for recent photos view
This commit is contained in:
parent
748d0e576c
commit
58c1f9a60f
1 changed files with 24 additions and 18 deletions
|
@ -2947,35 +2947,41 @@ a.mail-list-link {
|
|||
color: #999999;
|
||||
}
|
||||
|
||||
/* photo album page */
|
||||
.photo-top-image-wrapper {
|
||||
position: relative;
|
||||
float: left;
|
||||
margin-top: 15px;
|
||||
margin-right: 15px;
|
||||
width: 200px; height: 200px;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
float: left;
|
||||
margin-top: 15px;
|
||||
margin-right: 15px;
|
||||
width: 200px; height: 200px;
|
||||
overflow: hidden;
|
||||
}
|
||||
.photo-top-album-name {
|
||||
width: 100%;
|
||||
min-height: 2em;
|
||||
position: absolute;
|
||||
bottom: 0px;
|
||||
padding: 0px 3px;
|
||||
padding-top: 0.5em;
|
||||
background-color: rgb(255, 255, 255);
|
||||
width: 100%;
|
||||
min-height: 2em;
|
||||
position: absolute;
|
||||
bottom: 0px;
|
||||
padding: 0px 3px;
|
||||
padding-top: 0.5em;
|
||||
background-color: rgb(255, 255, 255);
|
||||
}
|
||||
#photo-top-end {
|
||||
clear: both;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
#photo-top-links {
|
||||
margin-bottom: 30px;
|
||||
margin-left: 30px;
|
||||
margin-bottom: 30px;
|
||||
margin-left: 30px;
|
||||
}
|
||||
|
||||
#photos-upload-newalbum-div {
|
||||
float: left;
|
||||
width: 175px;
|
||||
float: left;
|
||||
width: 175px;
|
||||
}
|
||||
img.photo-top-photo {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.menu-profile-list{
|
||||
|
|
Loading…
Reference in a new issue