Normalize line height for headings
This commit is contained in:
parent
c9df7354fb
commit
4eea9c3a2c
|
|
@ -9,7 +9,10 @@
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
|
@import "@/styles/_variables.scss";
|
||||||
|
|
||||||
.section-title {
|
.section-title {
|
||||||
margin-bottom: 30px;
|
margin-bottom: 30px;
|
||||||
|
line-height: $default-heading-line-height;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
|
|
@ -13,5 +13,6 @@
|
||||||
.subtitle {
|
.subtitle {
|
||||||
padding-top: 1px;
|
padding-top: 1px;
|
||||||
margin-bottom: $large-spacing;
|
margin-bottom: $large-spacing;
|
||||||
|
line-height: $default-heading-line-height;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
|
|
@ -67,6 +67,7 @@
|
||||||
&__title {
|
&__title {
|
||||||
font-size: toRem(35px);
|
font-size: toRem(35px);
|
||||||
margin-bottom: 40px;
|
margin-bottom: 40px;
|
||||||
|
line-height: $default-heading-line-height;
|
||||||
}
|
}
|
||||||
|
|
||||||
& /deep/ {
|
& /deep/ {
|
||||||
|
|
|
||||||
|
|
@ -77,6 +77,7 @@ $font-weight-semibold: 600;
|
||||||
$font-weight-regular: 400;
|
$font-weight-regular: 400;
|
||||||
|
|
||||||
$default-line-height: 1.5;
|
$default-line-height: 1.5;
|
||||||
|
$default-heading-line-height: 1.2;
|
||||||
|
|
||||||
// popover
|
// popover
|
||||||
$popover-default-bottom: -110px;
|
$popover-default-bottom: -110px;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue