Skip to content

Commit

Permalink
Merge pull request kodadot#4994 from Jarsen136/issue-4992
Browse files Browse the repository at this point in the history
fix: explore tabs & btn responsive (mobile/tablet)
  • Loading branch information
yangwao authored Feb 14, 2023
2 parents 316fc09 + dcd8a66 commit 1f4a2f9
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion components/explore/ExploreIndex.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="explore is-flex">
<div class="explore is-flex is-flex-wrap-wrap">
<ExploreTabItem />
<div class="explore-menu is-flex">
<ExploreSort />
Expand Down
10 changes: 7 additions & 3 deletions components/explore/ExploreTabItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,13 @@ a.disabled {
width: 15rem;
}
@include mobile {
.control,
&-button {
.control,
&-button {
@include until-widescreen {
width: 12rem;
}
@include mobile {
width: 100%;
}
}
Expand Down
4 changes: 3 additions & 1 deletion layouts/explore-layout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
</div>
</section>
<hr class="m-0" />
<Nuxt />
<section class="section pt-0">
<Nuxt />
</section>
</div>
</main>
</div>
Expand Down

0 comments on commit 1f4a2f9

Please sign in to comment.