]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix(settings): apps list html validation
authorGrigorii K. Shartsev <me@shgk.me>
Sat, 21 Oct 2023 03:06:44 +0000 (05:06 +0200)
committerGrigorii K. Shartsev <me@shgk.me>
Tue, 24 Oct 2023 09:07:04 +0000 (11:07 +0200)
- Replace invalid `width="100%"` attribute
- Add empty required `alt`

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
apps/settings/src/components/AppList/AppItem.vue

index 6997f5421a3324743805775a07ddb1a5550f21eb..179497a0f19d048e46eed9e102f8f0f4db257c32 100644 (file)
@@ -44,7 +44,7 @@
                                        class="app-icon" />
                        </svg>
 
-                       <img v-if="!listView && app.screenshot && screenshotLoaded" :src="app.screenshot" width="100%">
+                       <img v-if="!listView && app.screenshot && screenshotLoaded" :src="app.screenshot" alt="">
                </component>
                <component :is="dataItemTag"
                        class="app-name"
@@ -210,7 +210,11 @@ export default {
 </script>
 
 <style scoped lang="scss">
-       .app-icon {
-               filter: var(--background-invert-if-bright);
-       }
+.app-icon {
+       filter: var(--background-invert-if-bright);
+}
+
+.app-image img {
+       width: 100%;
+}
 </style>