mirror of
https://github.com/qdrant/landing_page.git
synced 2026-10-09 04:48:30 +02:00
renamed rem() function to pxToRem() to avoid conflicting with native css rem function (#1084)
This commit is contained in:
@@ -17,8 +17,8 @@
|
||||
}
|
||||
|
||||
&__description {
|
||||
font-size: rem(18);
|
||||
line-height: rem(27);
|
||||
font-size: pxToRem(18);
|
||||
line-height: pxToRem(27);
|
||||
color: $neutral-70;
|
||||
margin-bottom: $spacer;
|
||||
}
|
||||
@@ -29,7 +29,7 @@
|
||||
left: 0;
|
||||
bottom: -30px;
|
||||
width: 100%;
|
||||
height: rem(240);
|
||||
height: pxToRem(240);
|
||||
background-image: url('/img/blurred/blurred-light-14.svg');
|
||||
background-position: center;
|
||||
background-size: cover;
|
||||
@@ -50,13 +50,13 @@
|
||||
|
||||
&__title {
|
||||
font-size: $spacer * 4;
|
||||
line-height: rem(76);
|
||||
line-height: pxToRem(76);
|
||||
}
|
||||
|
||||
&__description {
|
||||
font-size: rem(20);
|
||||
line-height: rem(30);
|
||||
max-width: rem(640);
|
||||
font-size: pxToRem(20);
|
||||
line-height: pxToRem(30);
|
||||
max-width: pxToRem(640);
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user