Skip to content

Commit

Permalink
fix: Alignment and style fixes for InputTime (#253)
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelbandito authored Aug 4, 2020
1 parent 719ad61 commit d2311d0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/InputTime/Dropdown/Dropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,11 @@ const Dropdown: React.FC<DropdownProps> = ({
level="text"
size="sm"
>
<Icon fill="currentColor" name="arrow-drop-down" />
<Icon
fill="currentColor"
name="arrow-drop-down"
style={{ display: 'block' }}
/>
</Button>
</EasyDropdown>
);
Expand Down
7 changes: 7 additions & 0 deletions src/components/InputTime/InputTime.module.css
Original file line number Diff line number Diff line change
@@ -1,15 +1,22 @@
.InputTime {
box-sizing: border-box;
position: relative;
display: inline-flex;
flex-flow: row nowrap;
padding: 0;
}

.InputTime * {
box-sizing: border-box;
}

.Input.Input {
background: transparent;
border-width: 0;
box-shadow: none;
height: calc(var(--rvr-line-height-lg) + 2 * var(--rvr-space-bordered-sm));
flex: 1 1 auto;
min-width: 0;
}

.addons {
Expand Down

0 comments on commit d2311d0

Please sign in to comment.