Skip to content

Commit

Permalink
remove dev leftover
Browse files Browse the repository at this point in the history
  • Loading branch information
lookacat committed Dec 12, 2023
1 parent abcef47 commit 0832303
Show file tree
Hide file tree
Showing 2 changed files with 119 additions and 79 deletions.
4 changes: 1 addition & 3 deletions packages/web-pkg/src/components/ViewOptions.vue
Original file line number Diff line number Diff line change
Expand Up @@ -169,11 +169,9 @@ export default defineComponent({
const setTilesViewSize = () => {
const rootStyle = (document.querySelector(':root') as HTMLElement).style
const currentSize = rootStyle.getPropertyValue('--oc-size-tiles-resize-step')
const newSize = `${(unref(viewSizeQuery) as any) * 10}rem`
const newSize2 = `${((unref(viewSizeQuery) as any) * 1) / 10}fr`
const newSize = `${(unref(viewSizeQuery) as any) * 9}rem`
if (!currentSize || currentSize !== newSize) {
rootStyle.setProperty(`--oc-size-tiles-resize-step`, newSize)
rootStyle.setProperty(`--oc-size-tiles-resize-step2`, newSize2)
}
}
Expand Down
194 changes: 118 additions & 76 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0832303

Please sign in to comment.