Added components.
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user