Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions components/rmrk/Gallery/CollectionItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
</div>
</div>

<b-tabs position="is-centered" v-model="activeTab">
<b-tabs position="is-centered" v-model="activeTab" class="tabs-container-collection">
<b-tab-item label="Collection" value="collection">
<Search v-bind.sync="searchQuery">
<Layout class="mr-5" />
Expand Down Expand Up @@ -370,8 +370,16 @@ export default class CollectionItem extends mixins(ChainMixin, PrefixMixin) {
}
</script>

<style>
<style lang="scss">
@import '@/styles/mixins';

.collection__image img {
color: transparent;
}

.tabs-container-collection {
.tab-content {
@include tabs-mobile-padding;
}
}
</style>
2 changes: 1 addition & 1 deletion components/rmrk/Gallery/Gallery.vue
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ export default class Gallery extends mixins(PrefixMixin) {

.gallery {
@media screen and (max-width: 1023px) {
padding: 0 15px;
padding: 0;
}

&__image-wrapper {
Expand Down
3 changes: 1 addition & 2 deletions pages/rmrk/collections.vue
Original file line number Diff line number Diff line change
Expand Up @@ -254,14 +254,13 @@ export default class Collections extends mixins(PrefixMixin) {

<style lang="scss">
@import '@/styles/variables';

.card-image__burned {
filter: blur(7px);
}

.collections {
@media screen and (max-width: 1023px) {
padding: 0 15px;
padding: 0;
}

&__image-wrapper {
Expand Down
10 changes: 10 additions & 0 deletions pages/rmrk/u/_id.vue
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@

<b-tabs
:class="{ 'invisible-tab': sharingVisible }"
class="tabs-container-profile"
v-model="activeTab"
destroy-on-hide
expanded
Expand Down Expand Up @@ -403,3 +404,12 @@ export default class Profile extends mixins(PrefixMixin) {
}
</style>

<style lang="scss">
@import '@/styles/mixins';
.tabs-container-profile{
.tab-content {
@include tabs-mobile-padding;
}
}
</style>

5 changes: 5 additions & 0 deletions styles/mixins.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
@mixin tabs-mobile-padding {
@media screen and (max-width: 1023px) {
padding: 1rem 0;
}
}