fix: ads display causing layout break in mobile view (#230)

pull/232/head
Eduardo San Martin Morote 5 years ago committed by GitHub
parent e58f52eabd
commit 7ceaf344d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -179,6 +179,7 @@ const pageClasses = computed(() => {
#ads-container {
/* Avoid layout shift */
height: 105px;
margin: 1.75rem 0;
}
}

@ -22,7 +22,6 @@ onMounted(() => {
<style scoped>
.carbon-ads {
padding: 1.75rem 0 0;
border-radius: 4px;
margin: 0 auto;
max-width: 280px;

@ -47,4 +47,11 @@ import NextAndPrevLinks from './NextAndPrevLinks.vue'
.content {
padding-bottom: 1.5rem;
}
@media (max-width: 420px) {
.content {
/* fix carbon ads display */
clear: both;
}
}
</style>

Loading…
Cancel
Save