File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed
Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -298,7 +298,7 @@ export default {
298298 let toolbars
299299 if ( this . hasToolbar ) {
300300 const toolbarConfig = {
301- staticClass : `q-editor-toolbar row no-wrap scroll` ,
301+ staticClass : `q-editor-toolbar row no-wrap scroll-x ` ,
302302 'class' : [
303303 { 'q-editor-toolbar-separator' : ! this . toolbarOutline && ! this . toolbarPush } ,
304304 this . toolbarBackgroundClass
Original file line number Diff line number Diff line change 33
44.scroll
55 overflow auto
6+ .scroll , .scroll-x , .scroll-y
67 -webkit- overflow-scrolling touch
78 will-change scroll - position
9+ .scroll-x
10+ overflow-x auto
11+ .scroll-y
12+ overflow-y auto
813.no-scroll
914 overflow hidden !important
1015
Original file line number Diff line number Diff line change 11import { css } from './dom'
22
33export function getScrollTarget ( el ) {
4- return el . closest ( '.scroll' ) || window
4+ return el . closest ( '.scroll,.scroll-y ' ) || window
55}
66
77export function getScrollHeight ( el ) {
You can’t perform that action at this time.
0 commit comments