Skip to content

Commit dc362eb

Browse files
bram-atmirealexandrevryghem
authored andcommitted
141115: Align viewport meta with the canonical width=device-width, initial-scale=1 pattern
The previous value `width=device-width,minimum-scale=1` worked correctly with the project's responsive CSS, but diverged from the documented best-practice shipped by Bootstrap 5 starters and the Angular CLI default. `initial-scale=1` guarantees the page renders at 100% on first paint across mobile browsers and embedded WebViews; dropping `minimum-scale=1` removes the unneeded pinch-zoom-out restriction.
1 parent bcc437d commit dc362eb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta charset="UTF-8">
66
<base href="/">
77
<title>DSpace</title>
8-
<meta name="viewport" content="width=device-width,minimum-scale=1">
8+
<meta name="viewport" content="width=device-width, initial-scale=1">
99
<meta http-equiv="cache-control" content="no-store">
1010
</head>
1111

0 commit comments

Comments
 (0)