forked from DebaucheryLibrarian/traxxx
Fixed site search overflowing networks page.
This commit is contained in:
parent
f8a15be565
commit
83164e44d3
|
@ -47,14 +47,19 @@ export default {
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
@import 'theme';
|
@import 'theme';
|
||||||
|
|
||||||
|
.networks {
|
||||||
|
padding: 0 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
.search {
|
.search {
|
||||||
width: 40rem;
|
width: 100%;
|
||||||
max-width: 100%;
|
max-width: 40rem;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
border: none;
|
border: none;
|
||||||
|
box-sizing: border-box;
|
||||||
box-shadow: 0 0 3px $shadow-weak;
|
box-shadow: 0 0 3px $shadow-weak;
|
||||||
margin: 1rem;
|
margin: 1rem 0;
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
outline: none;
|
outline: none;
|
||||||
|
|
||||||
|
@ -67,7 +72,7 @@ export default {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
|
grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
|
||||||
grid-gap: 1rem;
|
grid-gap: 1rem;
|
||||||
padding: 1rem;
|
padding: 1rem 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media(max-width: $breakpoint) {
|
@media(max-width: $breakpoint) {
|
||||||
|
|
|
@ -17,7 +17,7 @@ async function init() {
|
||||||
.join('releases_posters', 'releases_posters.release_id', 'releases.id')
|
.join('releases_posters', 'releases_posters.release_id', 'releases.id')
|
||||||
.join('media', 'releases_posters.media_id', 'media.id');
|
.join('media', 'releases_posters.media_id', 'media.id');
|
||||||
|
|
||||||
const files = await Promise.all(posters.map(async (poster) => {
|
await Promise.all(posters.map(async (poster) => {
|
||||||
const source = path.join(config.media.path, poster.path);
|
const source = path.join(config.media.path, poster.path);
|
||||||
const target = path.join(config.media.path, 'posters', `${poster.title.replace('/', '_')}.${poster.name}.jpeg`);
|
const target = path.join(config.media.path, 'posters', `${poster.title.replace('/', '_')}.${poster.name}.jpeg`);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue