]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
docs: fix display ads
authorEduardo San Martin Morote <posva13@gmail.com>
Mon, 23 Nov 2020 16:26:39 +0000 (17:26 +0100)
committerEduardo San Martin Morote <posva13@gmail.com>
Mon, 23 Nov 2020 16:26:39 +0000 (17:26 +0100)
docs/.vitepress/theme/Layout.vue
docs/.vitepress/theme/components/CarbonAds.vue

index aee1a8ab726dca70fbb9b6899f3a66014c001875..847afddde1a8a599aec62d8863c9e3e7ccc92fa7 100644 (file)
@@ -44,4 +44,8 @@ export default {
 form {
   margin-block-end: 0;
 }
+
+.custom-blocks {
+  overflow-x: auto;
+}
 </style>
index 437259dc9f39fd79975012514fad81e03ec25f4d..7b51cd0297fa31be2147a5d09bf89579b9574a56 100644 (file)
@@ -36,15 +36,14 @@ export default {
 <style>
 .carbon-ads {
   min-height: 102px;
-  padding: 1.5rem 1.5rem 0;
   font-size: 0.75rem;
 
-  width: 125px;
+  width: 130px;
   position: fixed;
   z-index: 19;
   bottom: 0;
   right: 22px;
-  padding: 10px;
+  margin: 10px;
 }
 
 @media screen and (max-width: 425px) {
@@ -59,9 +58,9 @@ export default {
     z-index: 1;
     position: relative;
     top: 12px;
-    right: 20px;
+    right: 0;
     float: right;
-    padding: 0 0 20px 30px;
+    margin: 0 0 20px 30px;
   }
 }