fix scrollbar bug in chrome

+ change build outdir to alice-core/client folder
This commit is contained in:
geoffrey45
2023-01-01 19:07:19 +03:00
committed by Mungai Njoroge
parent 0b1ac6c02f
commit b95603c51e
5 changed files with 10 additions and 6 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",
"serve": "vite preview", "serve": "vite preview",
"build": "vite build", "build": "vite build --emptyOutDir --outDir ../alice-core/client",
"lint": "eslint --ext .js,.vue --ignore-path .gitignore --fix src" "lint": "eslint --ext .js,.vue --ignore-path .gitignore --fix src"
}, },
"dependencies": { "dependencies": {
+1 -1
View File
@@ -58,7 +58,7 @@ defineProps<{
.cards { .cards {
display: grid; display: grid;
grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
gap: 5rem 0; gap: 5rem 0;
} }
+1 -1
View File
@@ -38,7 +38,7 @@ defineProps<{
.artist-list { .artist-list {
display: grid; display: grid;
grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
} }
} }
</style> </style>
+4
View File
@@ -73,6 +73,10 @@ onUpdated(() => {
overflow: scroll; overflow: scroll;
scrollbar-width: none; scrollbar-width: none;
&::-webkit-scrollbar {
display: none;
}
.icon { .icon {
height: 2rem; height: 2rem;
aspect-ratio: 1; aspect-ratio: 1;
+3 -3
View File
@@ -4,7 +4,7 @@
<ArtistAlbums <ArtistAlbums
:albums="favAlbums" :albums="favAlbums"
:albumType="discographyAlbumTypes.albums" :albumType="discographyAlbumTypes.albums"
:title="'Albums 💜'" :title="'Albums ❤️'"
:route="'/favorites/albums'" :route="'/favorites/albums'"
/> />
</div> </div>
@@ -12,13 +12,13 @@
<TopTracks <TopTracks
:tracks="favTracks" :tracks="favTracks"
:route="'/home'" :route="'/home'"
:title="'Tracks 💛'" :title="'Tracks ❤️'"
:playHandler="handlePlay" :playHandler="handlePlay"
/> />
</div> </div>
<div class="fav-artists" v-if="favArtists.length"> <div class="fav-artists" v-if="favArtists.length">
<FeaturedArtists :artists="favArtists" :title="'Artists 💚'" /> <FeaturedArtists :artists="favArtists" :title="'Artists ❤️'" />
</div> </div>
</div> </div>
</template> </template>