Skip to content

Commit 5171408

Browse files
Merge pull request #755 from CityOfBoston/develop
(production) Fix 'Text getting cutoff at the bottom' on Windows
2 parents bf5d715 + e36d0f0 commit 5171408

File tree

3 files changed

+19
-6
lines changed

3 files changed

+19
-6
lines changed

Diff for: .github/workflows/deploy_to_s3.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,13 @@ jobs:
4141
run: |
4242
if [[ "${{ github.ref_name }}" == "develop" ]]; then
4343
echo "BUCKET_NAME=patterns-stg.boston.gov" >> "${GITHUB_ENV}"
44+
echo "CLOUDFRONT_ID=${{ secrets.STG_CLOUDFRONT_DISTRIBUTION_ID }}" >> "${GITHUB_ENV}"
4445
elif [[ "${{ github.ref_name }}" == "production" ]]; then
4546
echo "BUCKET_NAME=patterns.boston.gov" >> "${GITHUB_ENV}"
47+
echo "CLOUDFRONT_ID=${{ secrets.CLOUDFRONT_DISTRIBUTION_ID }}" >> "${GITHUB_ENV}"
4648
else
4749
echo "BUCKET_NAME=patterns-uat.boston.gov" >> "${GITHUB_ENV}"
50+
echo "CLOUDFRONT_ID=${{ secrets.UAT_CLOUDFRONT_DISTRIBUTION_ID }}" >> "${GITHUB_ENV}"
4851
fi
4952
if [[ ${{ vars.S3_DRY_RUN }} == 1 ]];then
5053
echo "S3_DEST_DIR='DRY_RUN/'" >> "${GITHUB_ENV}"
@@ -108,7 +111,7 @@ jobs:
108111
id: Invalidate-Cache
109112
uses: chetan/invalidate-cloudfront-action@v2
110113
env:
111-
DISTRIBUTION: ${{ secrets.CLOUDFRONT_DISTRIBUTION_ID }}
114+
DISTRIBUTION: ${{ env.CLOUDFRONT_ID }}
112115
PATHS: "/*"
113116
AWS_REGION: "us-east-1"
114117
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY }}

Diff for: stylesheets/components/form/_select.styl

+10
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,22 @@ $select-arrow-box-thin-width = 42px
7878
padding: 0 85px 0 $sizing-300
7979
width: 100%
8080
height: "calc(2 * %s + 2 * %s + %s * 1rem)" % ($sizing-300 $border-200 $line-height-300)
81+
color: $charles-blue
8182

8283
margin: 0
8384
box-sizing: border-box
8485
-moz-appearance: none
8586
appearance: none
8687

88+
option
89+
color: $charles-blue
90+
91+
&--default
92+
color: $charles-blue
93+
94+
option
95+
color: $charles-blue
96+
8797
// hides the arrow box on IE10
8898
&::-ms-expand
8999
display: none

Diff for: stylesheets/components/form/_textbox.styl

+5-5
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
margin: 0 0 $sizing-300
2626

2727
&-f
28-
field-height = "calc(%srem + %s * 1)" % ($line-height-600 $border-200)
28+
field-height = "calc(%srem + %s * 1)" % ($line-height-600 $border-150)
2929

3030
font-family: $serif
3131
font-size: 1rem
@@ -37,7 +37,7 @@
3737
border: $border-200 solid $charles-blue
3838
border-radius: 0 // Safari/iOS rounds input field corners by default
3939

40-
height: field-height
40+
height: 57px
4141
line-height: field-height
4242

4343
padding-left: $sizing-300
@@ -52,13 +52,13 @@
5252
border-color: $focus-indicator-color
5353

5454
&--sm
55-
field-height-sm = "calc(%srem + %s * 1)" % ($line-height-400 $border-200)
55+
field-height-sm = "calc(%srem + %s * 1)" % ($line-height-400 $border-150)
5656

5757
padding-left: $sizing-200
5858
padding-right: $sizing-200
5959

6060
height: field-height-sm
61-
line-height: field-height-sm
61+
line-height: 35px
6262

6363
&::placeholder
6464
font-style: italic
@@ -74,7 +74,7 @@
7474
textarea&
7575
&.txt-f--combo
7676
// Need to leave space for a .sel-f--sq element, and its borders
77-
width: "calc(100% - %s - %s * 1)" % ($select-arrow-box-width $border-200)
77+
width: "calc(100% - %s - %s * 1)" % ($select-arrow-box-width $border-150)
7878

7979
input[type=email]&--auto,
8080
input[type=tel]&--auto,

0 commit comments

Comments
 (0)