Skip to content

Commit b17508a

Browse files
Merge pull request #46876 from nextcloud/feat/update-line-height
Update line height
2 parents 019c4fe + e3fa5fe commit b17508a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apps/theming/css/default.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
--font-face: system-ui, -apple-system, 'Segoe UI', Roboto, Oxygen-Sans, Cantarell, Ubuntu, 'Helvetica Neue', 'Noto Sans', 'Liberation Sans', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
5151
--default-font-size: 15px;
5252
/* 1.5 x font-size for accessibility */
53-
--default-line-height: 24px;
53+
--default-line-height: 1.5;
5454
--animation-quick: 100ms;
5555
--animation-slow: 300ms;
5656
/** Border width for input elements such as text fields and selects */

apps/theming/lib/Themes/DefaultTheme.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ public function getCSSVariables(): array {
161161
'--font-face' => "system-ui, -apple-system, 'Segoe UI', Roboto, Oxygen-Sans, Cantarell, Ubuntu, 'Helvetica Neue', 'Noto Sans', 'Liberation Sans', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'",
162162
'--default-font-size' => '15px',
163163
// 1.5 * font-size for accessibility
164-
'--default-line-height' => '24px',
164+
'--default-line-height' => '1.5',
165165

166166
// TODO: support "(prefers-reduced-motion)"
167167
'--animation-quick' => '100ms',

0 commit comments

Comments
 (0)