Skip to content

Commit e3423a0

Browse files
Fixing lint issues
1 parent d602f02 commit e3423a0

File tree

2 files changed

+17
-4
lines changed

2 files changed

+17
-4
lines changed

core/src/components/range/range.ionic.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,13 +111,13 @@
111111

112112
min-width: 28px;
113113

114+
transform: translate3d(0, calc(-100% + 11px), 0) scale(1);
115+
114116
background: transparent;
115117

116118
font-size: globals.dynamic-font(12px);
117119

118120
text-align: center;
119-
120-
transform: translate3d(0, calc(-100% + 11px), 0) scale(1);
121121
}
122122

123123
.range-knob {

core/src/components/range/range.tsx

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { isRTL } from '@utils/rtl';
88
import { createColorClasses, hostContext } from '@utils/theme';
99

1010
import { getIonTheme } from '../../global/ionic-global';
11-
import type {Color, Gesture, GestureDetail, Theme} from '../../interface';
11+
import type { Color, Gesture, GestureDetail, Theme } from '../../interface';
1212
import { roundToMaxDecimalPlaces } from '../../utils/floating-point';
1313

1414
import type {
@@ -882,7 +882,20 @@ interface RangeKnob {
882882

883883
const renderKnob = (
884884
rtl: boolean,
885-
{ knob, value, ratio, min, max, disabled, pressed, pin, handleKeyboard, pinFormatter, inheritedAttributes, theme }: RangeKnob
885+
{
886+
knob,
887+
value,
888+
ratio,
889+
min,
890+
max,
891+
disabled,
892+
pressed,
893+
pin,
894+
handleKeyboard,
895+
pinFormatter,
896+
inheritedAttributes,
897+
theme,
898+
}: RangeKnob
886899
) => {
887900
const start = rtl ? 'right' : 'left';
888901

0 commit comments

Comments
 (0)