Skip to content

Commit

Permalink
fix: horizontal scroll in sidebar for long names in shares
Browse files Browse the repository at this point in the history
  • Loading branch information
elizavetaRa committed May 12, 2022
1 parent be4f5d4 commit 88dd943
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
7 changes: 3 additions & 4 deletions packages/web-app-text-editor/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
/>
</oc-notifications>
<div class="oc-flex editor-wrapper-height">
<div :class="showPreview ? 'oc-width-1-2 editor-height' : 'oc-width-1-1 editor-height'">
<div :class="showPreview ? 'oc-width-1-2 oc-height-1-1' : 'oc-width-1-1 oc-height-1-1'">
<oc-textarea
id="text-editor-input"
v-model="currentContent"
name="input"
full-width
label=""
class="editor-height"
class="oc-height-1-1"
:rows="20"
:disabled="isReadOnly"
/>
Expand Down Expand Up @@ -242,8 +242,7 @@ export default {
.editor-wrapper-height {
height: calc(100% - 42px);
}
.app-container,
.editor-height,
#text-editor-input {
height: 100%;
}
Expand Down
1 change: 1 addition & 0 deletions packages/web-pkg/src/components/sidebar/SideBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,7 @@ export default defineComponent({
&__body {
overflow-y: auto;
overflow-x: hidden;
padding: 10px;
}
Expand Down

0 comments on commit 88dd943

Please sign in to comment.