Normalize and improve font sizes
This commit standardizes font sizes across components for a uniform look. The icon sizes, font weights and line heights are also adjusted accordingly for better standardization and simplicity. - Introduce variables for standard font sizes, enhancing maintainability. - Remove explicit pixel values, replaced with scalable units based on root size. - Remove workaround for line-height adoptation of bigger font-size. - Use consistent small font-size for the code area. - Adjust checkbox tick to scale with font size.
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
<a
|
||||
:href="downloadUrl"
|
||||
:class="{
|
||||
url__active: hasCurrentOsDesktopVersion && isCurrentOs,
|
||||
url__inactive: hasCurrentOsDesktopVersion && !isCurrentOs,
|
||||
active: hasCurrentOsDesktopVersion && isCurrentOs,
|
||||
inactive: hasCurrentOsDesktopVersion && !isCurrentOs,
|
||||
}"
|
||||
>{{ operatingSystemName }}</a>
|
||||
</span>
|
||||
@@ -64,11 +64,8 @@ function hasDesktopVersion(os: OperatingSystem): boolean {
|
||||
<style scoped lang="scss">
|
||||
@use "@/presentation/assets/styles/main" as *;
|
||||
.url {
|
||||
&__active {
|
||||
font-size: 1em;
|
||||
}
|
||||
&__inactive {
|
||||
font-size: 0.70em;
|
||||
.inactive {
|
||||
font-size: $font-size-smaller;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user