Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lib/components/user/phone-change-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import { ControlStrip, phoneFieldStyle } from './styled'

// Styles
const InlinePhoneInput = styled(Input)`
margin-top: 5px;
${phoneFieldStyle}
`

Expand Down
6 changes: 5 additions & 1 deletion lib/components/user/styled.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,12 +115,16 @@ export const ControlStrip = styled.span`
& > * {
margin-right: 4px;
}

button {
text-wrap: wrap;
margin-top: 5px;
}
`
/** Styles for phone editing fields */
export const phoneFieldStyle = css`
display: inline-block;
vertical-align: middle;
width: 14em;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For another PR: This input field contains just digits and symbols, so I am wondering whether to replace the placeholder text with a template phone number. That way, we can keep the original width of this field to suggest shorter inputs.

`

export const UnstyledLink = styled(Link)`
Expand Down
Loading