chore: update font size of quick search (#919)

This commit is contained in:
JimmFly
2023-02-09 13:54:55 +08:00
committed by GitHub
parent c129c92e39
commit 2bde086e28
2 changed files with 11 additions and 11 deletions

View File

@@ -60,8 +60,8 @@ export const absoluteCenter = ({
position: 'absolute',
left: left ? left : horizontal ? '50%' : 'auto',
top: top ? top : vertical ? '50%' : 'auto',
right: right ? right : horizontal ? 'auto' : 'auto',
bottom: bottom ? bottom : vertical ? 'auto' : 'auto',
right: right ? right : 'auto',
bottom: bottom ? bottom : 'auto',
transform: `translate(${horizontal ? '-50%' : '0'}, ${
vertical ? '-50%' : '0'
})`,
@@ -92,8 +92,8 @@ export const fixedCenter = ({
position: 'fixed',
left: left ? left : horizontal ? '50%' : 'auto',
top: top ? top : vertical ? '50%' : 'auto',
right: right ? right : horizontal ? 'auto' : 'auto',
bottom: bottom ? bottom : vertical ? 'auto' : 'auto',
right: right ? right : 'auto',
bottom: bottom ? bottom : 'auto',
transform: `translate(${horizontal ? '-50%' : '0'}, ${
vertical ? '-50%' : '0'
})`,