mirror of
https://github.com/element-hq/element-web
synced 2024-11-25 18:55:58 +03:00
Use rem to guard against font scaling breakages
This commit is contained in:
parent
1195c09f5c
commit
0ddfd9ee8c
2 changed files with 4 additions and 1 deletions
|
@ -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 a new issue