chore: ad
This commit is contained in:
parent
e95137dc59
commit
dc3f409986
|
@ -15,15 +15,11 @@
|
|||
</body>
|
||||
|
||||
</html>
|
||||
|
||||
<style>
|
||||
#carbonads {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu,
|
||||
Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
}
|
||||
|
||||
#carbonads {
|
||||
display: flex;
|
||||
max-width: 250px;
|
||||
max-width: 280px;
|
||||
background-color: hsl(0, 0%, 98%);
|
||||
box-shadow: 0 1px 4px 1px hsla(0, 0%, 0%, .1);
|
||||
z-index: 2;
|
||||
|
@ -64,7 +60,7 @@
|
|||
.carbon-text {
|
||||
font-size: 13px;
|
||||
padding: 10px;
|
||||
line-height: 1.5;
|
||||
line-height: 1.4;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
|
|
|
@ -10,9 +10,11 @@ export default {
|
|||
watch: {
|
||||
'$route.path': {
|
||||
handler: function() {
|
||||
if (document.getElementById('carbonads')) {
|
||||
window._carbonads && window._carbonads.refresh()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
Loading…
Reference in New Issue