Compare commits

...

2 Commits

Author SHA1 Message Date
DebaucheryLibrarian 99cfd3dc3f 1.184.1 2021-03-11 16:45:02 +01:00
DebaucheryLibrarian 7c4b9063a7 Centered actor lazy avatar, fixed tag favicon size on mobile. 2021-03-11 16:44:59 +01:00
4 changed files with 7 additions and 6 deletions

View File

@ -234,6 +234,7 @@ export default {
object-fit: cover; object-fit: cover;
object-position: 50% 0; object-position: 50% 0;
background-size: cover; background-size: cover;
background-position: center;
} }
.avatar-fallback { .avatar-fallback {

View File

@ -7,13 +7,13 @@
<img <img
v-if="favicon && photo.entity.type !== 'network' && !photo.entity.independent && photo.entity.parent" v-if="favicon && photo.entity.type !== 'network' && !photo.entity.independent && photo.entity.parent"
:src="`/img/logos/${photo.entity.parent.slug}/favicon.png`" :src="`/img/logos/${photo.entity.parent.slug}/favicon.png`"
class="album-logo" class="album-logo favicon"
> >
<img <img
v-else-if="favicon" v-else-if="favicon"
:src="`/img/logos/${photo.entity.slug}/favicon.png`" :src="`/img/logos/${photo.entity.slug}/favicon.png`"
class="album-logo" class="album-logo favicon"
> >
<img <img
@ -58,7 +58,7 @@ module.exports = {
} }
@media(max-width: $breakpoint-small) { @media(max-width: $breakpoint-small) {
.album-logo { .album-logo:not(.favicon) {
max-height: .5rem; max-height: .5rem;
max-width: 3.5rem; max-width: 3.5rem;
} }

4
package-lock.json generated
View File

@ -1,11 +1,11 @@
{ {
"name": "traxxx", "name": "traxxx",
"version": "1.184.0", "version": "1.184.1",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"version": "1.184.0", "version": "1.184.1",
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
"@graphile-contrib/pg-order-by-related": "^1.0.0-beta.6", "@graphile-contrib/pg-order-by-related": "^1.0.0-beta.6",

View File

@ -1,6 +1,6 @@
{ {
"name": "traxxx", "name": "traxxx",
"version": "1.184.0", "version": "1.184.1",
"description": "All the latest porn releases in one place", "description": "All the latest porn releases in one place",
"main": "src/app.js", "main": "src/app.js",
"scripts": { "scripts": {