use songitem component on search page track items

This commit is contained in:
geoffrey45
2022-08-28 15:07:40 +03:00
parent 2c5afdf2c4
commit 2cb30e294f
5 changed files with 54 additions and 37 deletions
+5 -2
View File
@@ -2,7 +2,7 @@
<div class="right-search">
<TabsWrapper>
<Tab name="tracks">
<TracksGrid />
<TracksGrid :isOnSearchPage="isOnSearchPage" />
</Tab>
<Tab name="albums">
<ArtistGrid :album_grid="true" />
@@ -19,6 +19,10 @@ import ArtistGrid from "./ArtistGrid.vue";
import Tab from "./Tab.vue";
import TabsWrapper from "./TabsWrapper.vue";
import TracksGrid from "./TracksGrid.vue";
const props = defineProps<{
isOnSearchPage?: boolean;
}>();
</script>
<style lang="scss">
@@ -36,7 +40,6 @@ import TracksGrid from "./TracksGrid.vue";
color: $white;
}
.input {
display: flex;
align-items: center;