File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
src/webflo-runtime/webflo-client Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -1074,19 +1074,23 @@ export class ModalElement extends BaseElement {
10741074
10751075 /* ----------- swipe-dismiss ----------- */
10761076
1077- :host(:not(._horz)) {
1077+ :host(:not(._swipe-dismiss)) {
1078+ --swipe-dismiss-length: 0px;
1079+ }
1080+
1081+ :host(._swipe-dismiss:not(._horz)) {
10781082 --swipe-dismiss-length: var(--modal-swipe-dismiss-length, calc(var(--view-height) - var(--minmax-length)));
10791083 }
10801084
1081- :host(._horz) {
1085+ :host(._swipe-dismiss. _horz) {
10821086 --swipe-dismiss-length: var(--modal-swipe-dismiss-length, calc(var(--view-width) - var(--minmax-length)));
10831087 }
10841088
1085- :host(:not(._top:not(._horz), ._left._horz)) {
1089+ :host(._swipe-dismiss :not(._top:not(._horz), ._left._horz)) {
10861090 --swipe-dismiss-progress-range: 0% var(--swipe-dismiss-length);
10871091 }
10881092
1089- :host(:is(._top:not(._horz), ._left._horz)) {
1093+ :host(._swipe-dismiss :is(._top:not(._horz), ._left._horz)) {
10901094 --swipe-dismiss-progress-range:
10911095 calc(100% - var(--swipe-dismiss-length))
10921096 100%;
You can’t perform that action at this time.
0 commit comments