Skip to content

Commit 58dbc45

Browse files
committed
fix(input-otp): use the separator width var for separator height
1 parent e570e36 commit 58dbc45

File tree

3 files changed

+1
-2
lines changed

3 files changed

+1
-2
lines changed

core/src/components/input-otp/input-otp.common.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
--margin-end: 0;
4343
--margin-bottom: 0;
4444
--margin-start: 0;
45+
--separator-height: var(--separator-width);
4546

4647
/**
4748
* This is a private API that is used to switch

core/src/components/input-otp/input-otp.ionic.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
--border-style: #{globals.$ion-border-style-solid};
1616
--border-color: #{globals.$ion-border-input-default};
1717
--separator-width: #{globals.$ion-scale-200};
18-
--separator-height: #{globals.$ion-scale-200};
1918
--separator-border-radius: #{globals.$ion-border-radius-full};
2019
--separator-color: #{globals.$ion-bg-neutral-subtle-press};
2120
--highlight-color-focused: #{globals.$ion-border-focus-default};

core/src/components/input-otp/input-otp.native.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
--min-width: 40px;
1414
--border-style: solid;
1515
--separator-width: 8px;
16-
--separator-height: var(--separator-width);
1716
--separator-border-radius: 999px;
1817
--separator-color: #{$background-color-step-150};
1918
--highlight-color-focused: #{ion-color(primary, base)};

0 commit comments

Comments
 (0)