Skip to content

Commit

Permalink
fix: code editor overflow on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Renovamen committed Jul 9, 2024
1 parent cda7fcd commit 620029c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion site/src/assets/css/editor.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
}

.pane-container {
@apply h-full rounded-xl overflow-scroll;
@apply h-full rounded-xl;
}

/* Print mode */
Expand Down
2 changes: 1 addition & 1 deletion site/src/components/editor/Code.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<TabsRoot
class="pane-container bg-background"
class="pane-container overflow-hidden bg-background"
flex="~ col"
default-value="markdown"
@update:model-value="(payload) => activateModel(payload)"
Expand Down
2 changes: 1 addition & 1 deletion site/src/components/editor/Preview.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="pane-container hide-scrollbar bg-secondary" border="4 secondary">
<div class="pane-container overflow-scroll hide-scrollbar bg-secondary" border="4 secondary">
<VueZoom ref="zoom" :scale="scale">
<SharedResumeRender
id="preview"
Expand Down
2 changes: 1 addition & 1 deletion site/src/components/editor/toolbar/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div class="flex w-72 h-full">
<div
id="toolbar"
class="pane-container hide-scrollbar bg-background"
class="pane-container overflow-y-scroll hide-scrollbar bg-background"
lt-lg="bg-accent rounded-none"
>
<template v-for="(tool, i) in tools" :key="tool.id">
Expand Down

0 comments on commit 620029c

Please sign in to comment.