mirror of
https://github.com/enso-org/enso.git
synced 2024-12-22 18:01:38 +03:00
Fix docpanel scrollArea height (#10721)
This commit is contained in:
parent
6ad3faf03b
commit
347ef0260f
@ -37,9 +37,11 @@ const style = computed(() => ({
|
||||
/>
|
||||
<SizeTransition width :duration="100">
|
||||
<div v-if="show" ref="slideInPanel" :style="style" class="DockPanel" data-testid="rightDock">
|
||||
<div ref="toolbarElement" class="toolbar"></div>
|
||||
<div class="scrollArea">
|
||||
<slot :toolbar="toolbarElement" />
|
||||
<div class="content">
|
||||
<div ref="toolbarElement" class="toolbar"></div>
|
||||
<div class="scrollArea">
|
||||
<slot :toolbar="toolbarElement" />
|
||||
</div>
|
||||
</div>
|
||||
<ResizeHandles left :modelValue="computedBounds" @update:modelValue="size = $event.width" />
|
||||
</div>
|
||||
@ -52,18 +54,26 @@ const style = computed(() => ({
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.scrollArea {
|
||||
.content {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.scrollArea {
|
||||
width: 100%;
|
||||
overflow-y: auto;
|
||||
padding-left: 10px;
|
||||
/* Prevent touchpad back gesture, which can be triggered while panning. */
|
||||
overscroll-behavior-x: none;
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.toolbar {
|
||||
height: 48px;
|
||||
padding-left: 4px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.toggleDock {
|
||||
|
Loading…
Reference in New Issue
Block a user