mirror of
https://github.com/pengzhanbo/vuepress-theme-plume.git
synced 2026-04-23 10:58:13 +08:00
style: lint fix
This commit is contained in:
parent
4ed2ed49a8
commit
b6df5e1e1c
@ -93,8 +93,8 @@ export function usePDF(
|
||||
|
||||
const isFirefoxWithPDFJS
|
||||
= !isMobileDevice
|
||||
&& /firefox/iu.test(userAgent)
|
||||
&& userAgent.split('rv:').length > 1
|
||||
&& /firefox/iu.test(userAgent)
|
||||
&& userAgent.split('rv:').length > 1
|
||||
? Number.parseInt(userAgent.split('rv:')[1].split('.')[0], 10) > 18
|
||||
: false
|
||||
|
||||
@ -103,9 +103,9 @@ export function usePDF(
|
||||
// As of Sept 2020 no mobile browsers properly support PDF embeds
|
||||
= !isMobileDevice
|
||||
// We're moving into the age of MIME-less browsers. They mostly all support PDF rendering without plugins.
|
||||
&& (isModernBrowser
|
||||
// Modern versions of Firefox come bundled with PDFJS
|
||||
|| isFirefoxWithPDFJS)
|
||||
&& (isModernBrowser
|
||||
// Modern versions of Firefox come bundled with PDFJS
|
||||
|| isFirefoxWithPDFJS)
|
||||
|
||||
if (!url)
|
||||
return
|
||||
|
||||
@ -131,7 +131,7 @@ function handleClick() {
|
||||
|
||||
.vp-back-to-top svg circle {
|
||||
fill: none;
|
||||
r: 16;
|
||||
r: 16px;
|
||||
stroke: var(--vp-c-brand-2);
|
||||
stroke-dasharray: 0% 314.1593%;
|
||||
stroke-width: 4px;
|
||||
@ -157,7 +157,7 @@ function handleClick() {
|
||||
}
|
||||
|
||||
.vp-back-to-top svg circle {
|
||||
r: 22;
|
||||
r: 22px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -93,7 +93,8 @@ const { bulletin, showBulletin, enableBulletin, close } = useBulletinControl()
|
||||
mask:
|
||||
linear-gradient(var(--vp-c-bg) 0 100%) content-box,
|
||||
linear-gradient(var(--vp-c-bg) 0 100%);
|
||||
mask-composite: xor;
|
||||
-webkit-mask-composite: xor;
|
||||
mask-composite: subtract;
|
||||
}
|
||||
|
||||
.vp-bulletin:where(.preset) .close {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user