Skip to content

Commit d9f1c41

Browse files
committed
fix(docs): QScrollArea -> style props -> do not use "right" directly, but through horizontal/vertical-offset props #17597
1 parent c6d3bcf commit d9f1c41

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

docs/src/examples/QScrollArea/Styled.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<template>
22
<div class="q-ma-md">
33
<q-scroll-area
4+
:horizontal-offset="[0, 2]"
45
:thumb-style="thumbStyle"
56
:content-style="contentStyle"
67
:content-active-style="contentActiveStyle"
@@ -30,7 +31,6 @@ export default {
3031
},
3132
3233
thumbStyle: {
33-
right: '2px',
3434
borderRadius: '5px',
3535
backgroundColor: '#027be3',
3636
width: '5px',

docs/src/examples/QScrollArea/StyledBar.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<template>
22
<div class="q-ma-md">
33
<q-scroll-area
4+
:horizontal-offset="[0, 2]"
45
:thumb-style="thumbStyle"
56
:bar-style="barStyle"
67
style="height: 200px; max-width: 300px;"
@@ -19,15 +20,13 @@ export default {
1920
setup () {
2021
return {
2122
thumbStyle: {
22-
right: '4px',
2323
borderRadius: '5px',
2424
backgroundColor: '#027be3',
2525
width: '5px',
2626
opacity: 0.75
2727
},
2828
2929
barStyle: {
30-
right: '2px',
3130
borderRadius: '9px',
3231
backgroundColor: '#027be3',
3332
width: '9px',

docs/src/examples/QScrollArea/Synchronized.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<div class="q-ma-md row no-wrap">
33
<q-scroll-area
44
visible
5+
:horizontal-offset="[0, 2]"
56
:thumb-style="thumbStyle"
67
:bar-style="barStyle"
78
style="height: 200px;"
@@ -18,6 +19,7 @@
1819

1920
<q-scroll-area
2021
visible
22+
:horizontal-offset="[0, 2]"
2123
:thumb-style="thumbStyle"
2224
:bar-style="barStyle"
2325
style="height: 200px;"
@@ -74,15 +76,13 @@ export default {
7476
secondRef,
7577
7678
thumbStyle: {
77-
right: '4px',
7879
borderRadius: '7px',
7980
backgroundColor: '#027be3',
8081
width: '4px',
8182
opacity: 0.75
8283
},
8384
8485
barStyle: {
85-
right: '2px',
8686
borderRadius: '9px',
8787
backgroundColor: '#027be3',
8888
width: '8px',

0 commit comments

Comments
 (0)