]> BookStack Code Mirror - bookstack/commitdiff
Cover images: Updated description wording to better detail size
authorDan Brown <redacted>
Mon, 19 Feb 2024 20:26:04 +0000 (20:26 +0000)
committerDan Brown <redacted>
Mon, 19 Feb 2024 20:26:04 +0000 (20:26 +0000)
To make it clearer that the advised size may not be fixed.
For #4748

lang/en/common.php
resources/js/code/index.mjs

index 27037babec0346cebca4494ae81c6baee26e6313..266174eed9da6bff8f84c28182ad3c1aa705ea6c 100644 (file)
@@ -20,7 +20,7 @@ return [
     'description' => 'Description',
     'role' => 'Role',
     'cover_image' => 'Cover image',
-    'cover_image_description' => 'This image should be approx 440x250px.',
+    'cover_image_description' => 'This image should be approximately 440x250px although it will be flexibly scaled & cropped to fit the user interface in different scenarios as required, so actual dimensions for display will differ.',
 
     // Actions
     'actions' => 'Actions',
index d92a9ba26ca9b12e0d72a544a137d40a806a5f1d..d252f8f41013810f357f732a80ab27971ce0be4f 100644 (file)
@@ -1,4 +1,4 @@
-import {EditorView, keymap, Direction} from '@codemirror/view';
+import {EditorView, keymap} from '@codemirror/view';
 
 import {copyTextToClipboard} from '../services/clipboard';
 import {viewerExtensions, editorExtensions} from './setups';