diff --git a/components/Account.vue b/components/Account.vue index a979361f8..5d2a39bbb 100644 --- a/components/Account.vue +++ b/components/Account.vue @@ -133,7 +133,7 @@ - + @@ -146,7 +146,7 @@ - + @@ -192,7 +192,7 @@ - + - - {{phkey}} + :class="[adPlaceholdersVisible ? 'ad-placeholder-preview' : '']" + :style="adConfig?.sticky ? 'height: 100%' : null" + > + + {{currentKey}} - + + true, ...mapState([ 'adPlaceholdersVisible', ]), @@ -80,7 +104,7 @@ export default { padding: 1em; } -.adsbygoogle:not(:empty), .adsinternal:not(:empty), .adsbynewor:not(:empty) { +.adsbygoogle:not(:empty), .adsinternal:not(:empty), .adsbynewor:not(:empty), .adsbypublift:not(:empty) { text-decoration: none; &:before { content: attr(data-label); @@ -88,4 +112,9 @@ export default { font-size: 0.7rem; } } +.wrapper-sticky { + position: -webkit-sticky; + position: sticky; + top: 0; +} diff --git a/components/Dictionary.vue b/components/Dictionary.vue index ab3f6e8b4..23f22737d 100644 --- a/components/Dictionary.vue +++ b/components/Dictionary.vue @@ -143,7 +143,7 @@ - + diff --git a/components/Footer.vue b/components/Footer.vue index f6ba6711b..eb1e938e2 100644 --- a/components/Footer.vue +++ b/components/Footer.vue @@ -174,9 +174,9 @@ - + diff --git a/components/Header.vue b/components/Header.vue index eabe889a6..0e1e0d29c 100644 --- a/components/Header.vue +++ b/components/Header.vue @@ -28,6 +28,7 @@ title + diff --git a/components/InclusiveDictionary.vue b/components/InclusiveDictionary.vue index 2f43064ba..fd975e0fa 100644 --- a/components/InclusiveDictionary.vue +++ b/components/InclusiveDictionary.vue @@ -214,7 +214,7 @@ - + diff --git a/components/NotFound.vue b/components/NotFound.vue index 366ccf4e7..d0acbcb05 100644 --- a/components/NotFound.vue +++ b/components/NotFound.vue @@ -12,6 +12,6 @@ - + diff --git a/components/Page.vue b/components/Page.vue index 322bc04d2..9d5f53a4b 100644 --- a/components/Page.vue +++ b/components/Page.vue @@ -1,9 +1,9 @@ - + @@ -11,7 +11,7 @@ diff --git a/components/Support.vue b/components/Support.vue index 066606d33..519883ec6 100644 --- a/components/Support.vue +++ b/components/Support.vue @@ -1,5 +1,5 @@ - +
{{phkey}}
{{currentKey}}