Skip to content

#1652 Wider items in feeds #1653

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jan 5, 2022
Merged
Show file tree
Hide file tree
Changes from all 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
5 changes: 3 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-mobile">
<b-tab-item label="Collection" value="collection">
<Search v-bind.sync="searchQuery">
<Layout class="mr-5" />
Expand Down Expand Up @@ -370,7 +370,8 @@ export default class CollectionItem extends mixins(ChainMixin, PrefixMixin) {
}
</script>

<style>
<style lang="scss">

.collection__image img {
color: transparent;
}
Expand Down
3 changes: 0 additions & 3 deletions components/rmrk/Gallery/Collections.vue
Original file line number Diff line number Diff line change
Expand Up @@ -275,9 +275,6 @@ export default class Collections extends mixins(PrefixMixin) {
}

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

&__image-wrapper {
position: relative;
Expand Down
3 changes: 0 additions & 3 deletions components/rmrk/Gallery/Gallery.vue
Original file line number Diff line number Diff line change
Expand Up @@ -304,9 +304,6 @@ export default class Gallery extends mixins(PrefixMixin) {
}

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

&__image-wrapper {
position: relative;
Expand Down
5 changes: 0 additions & 5 deletions pages/rmrk/collections.vue
Original file line number Diff line number Diff line change
Expand Up @@ -254,16 +254,11 @@ 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;
}

&__image-wrapper {
position: relative;
margin: auto;
Expand Down
2 changes: 2 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-mobile"
v-model="activeTab"
destroy-on-hide
expanded
Expand Down Expand Up @@ -403,3 +404,4 @@ export default class Profile extends mixins(PrefixMixin) {
}
</style>


9 changes: 9 additions & 0 deletions styles/global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,13 @@ body {
.message.is-primary .message-body {
color: $primary-light !important;
}
.tabs-container-mobile {
.tab-content {
@media screen and (max-width: 1023px) {
padding: 1rem 0;
}
}
}
}

// global CSS for page transitions
Expand Down Expand Up @@ -183,4 +190,6 @@ body {
padding: 0.75rem !important;
}
}

}