mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-15 20:54:59 +08:00
Use rem to guard against font scaling breakages
This commit is contained in:
parent
1195c09f5c
commit
0ddfd9ee8c
@ -68,5 +68,6 @@ $font-49px: 4.9rem;
|
||||
$font-50px: 5.0rem;
|
||||
$font-51px: 5.1rem;
|
||||
$font-52px: 5.2rem;
|
||||
$font-78px: 7.8rem;
|
||||
$font-88px: 8.8rem;
|
||||
$font-400px: 40rem;
|
||||
|
@ -16,6 +16,8 @@ limitations under the License.
|
||||
|
||||
/* TODO: Consider unifying with general input styles in _light.scss */
|
||||
|
||||
@import "../../_font-sizes.scss";
|
||||
|
||||
.mx_Field {
|
||||
display: flex;
|
||||
flex: 1;
|
||||
@ -191,5 +193,5 @@ limitations under the License.
|
||||
}
|
||||
|
||||
.mx_Field .mx_CountryDropdown {
|
||||
width: 78px;
|
||||
width: $font-78px;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user