mirror of
https://github.com/element-hq/element-web
synced 2024-11-23 17:56:01 +03:00
Use font-variable instead of rem
This commit is contained in:
parent
6338325d5c
commit
c7c94933ee
2 changed files with 8 additions and 1 deletions
|
@ -14,6 +14,13 @@ See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
$font-1px: 0.067rem;
|
||||||
|
$font-2px: 0.133rem;
|
||||||
|
$font-3px: 0.200rem;
|
||||||
|
$font-4px: 0.267rem;
|
||||||
|
$font-5px: 0.333rem;
|
||||||
|
$font-6px: 0.400rem;
|
||||||
|
$font-7px: 0.467rem;
|
||||||
$font-8px: 0.533rem;
|
$font-8px: 0.533rem;
|
||||||
$font-9px: 0.600rem;
|
$font-9px: 0.600rem;
|
||||||
$font-10px: 0.667rem;
|
$font-10px: 0.667rem;
|
||||||
|
|
|
@ -26,7 +26,7 @@ a.mx_Pill {
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_Pill {
|
.mx_Pill {
|
||||||
padding: 0.3rem;
|
padding: $font-5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* More specific to override `.markdown-body a` text-decoration */
|
/* More specific to override `.markdown-body a` text-decoration */
|
||||||
|
|
Loading…
Reference in a new issue