Added components.

This commit is contained in:
2020-05-22 00:55:11 +02:00
parent c3de881a2c
commit f38be7a706
9 changed files with 125 additions and 125 deletions

View File

@@ -318,10 +318,6 @@ async function route() {
await this.fetchActor();
}
function scrollPhotos(event) {
event.currentTarget.scrollLeft += event.deltaY; // eslint-disable-line no-param-reassign
}
async function mounted() {
await this.fetchActor();
@@ -355,7 +351,6 @@ export default {
mounted,
methods: {
fetchActor,
scrollPhotos,
},
};
</script>

View File

@@ -155,7 +155,7 @@ export default {
.tiles {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
grid-gap: 0 .5rem;
padding: 1rem;
flex-grow: 1;

View File

@@ -67,6 +67,7 @@ export default {
display: flex;
box-sizing: border-box;
padding: 1rem;
border-bottom: solid 1px var(--darken-hint);
font-size: 0;
overflow-x: scroll;
scrollbar-width: none;
@@ -79,11 +80,9 @@ export default {
display: none;
}
/*
&::-webkit-scrollbar {
display: none;
}
*/
}
.photo-link {