Skip to content
This repository was archived by the owner on Apr 3, 2019. It is now read-only.

Commit d16bcab

Browse files
authored
Merge pull request #6850 from mozilla/i6566
fix(styles): address the radius mismatch on the send button
2 parents 975a959 + 344be8e commit d16bcab

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

app/styles/_variables.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ $small-font: 12px;
178178
$media-adjustment: 2px;
179179

180180
//Border-Radius Variables
181+
$inner-button-border-radius: 1px;
181182
$small-border-radius: 2px;
182183
$big-border-radius: 4px;
183184

app/styles/modules/_branding.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
position: relative;
101101

102102
.sms-send {
103-
border-radius: 0 $small-border-radius $small-border-radius 0;
103+
border-radius: 0 $inner-button-border-radius $inner-button-border-radius 0;
104104
height: $input-height - 2px;
105105
min-width: 55px;
106106
padding: 0 7px;
@@ -115,13 +115,13 @@
115115
}
116116

117117
html[dir='rtl'] & {
118-
border-radius: $small-border-radius 0 0 $small-border-radius;
118+
border-radius: $inner-button-border-radius 0 0 $inner-button-border-radius;
119119
border-right: 1px solid $input-border-color-default;
120120
left: 1px;
121121
}
122122

123123
@include respond-to('small') {
124-
border-radius: 0;
124+
border-radius: 0 $inner-button-border-radius $inner-button-border-radius 0;
125125
height: 38px;
126126
line-height: 38px;
127127
}

0 commit comments

Comments
 (0)