Skip to content

Commit

Permalink
More tweaks to wrangle aligning iOS with everyone else
Browse files Browse the repository at this point in the history
  • Loading branch information
anselmbradford committed Nov 21, 2024
1 parent 62cc483 commit c41101f
Show file tree
Hide file tree
Showing 17 changed files with 26 additions and 25 deletions.
2 changes: 1 addition & 1 deletion packages/cfpb-design-system/dist/base/index.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions packages/cfpb-design-system/dist/base/index.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/cfpb-design-system/dist/base/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/cfpb-design-system/dist/base/index.js.map

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/cfpb-design-system/dist/index.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions packages/cfpb-design-system/dist/index.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/cfpb-design-system/dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/cfpb-design-system/dist/utilities/index.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions packages/cfpb-design-system/dist/utilities/index.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/cfpb-design-system/dist/utilities/index.js.map

Large diffs are not rendered by default.

9 changes: 5 additions & 4 deletions packages/cfpb-design-system/src/base/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,16 @@ textarea {

/*
* On iOS Safari the input is collapsed till it's clicked.
* This sets the appearance to that of a textfield and then reverts the display
* to vertically align the date.
* This sets the default min width and height to what it would be if the
* appearance was a textfield.
*/
input[type='date'] {
appearance: textfield;
display: revert;
min-width: 98px;
min-height: 29px;

&.a-text-input--full {
-webkit-min-logical-width: calc(100% - 16px);
min-width: 100%;
}
}

Expand Down

0 comments on commit c41101f

Please sign in to comment.