diff options
author | Grigorii K. Shartsev <me@shgk.me> | 2023-10-21 05:06:44 +0200 |
---|---|---|
committer | Grigorii K. Shartsev <me@shgk.me> | 2023-10-24 11:07:04 +0200 |
commit | 668e35f1552301887e511e137fd08b701c4f7c04 (patch) | |
tree | a9dcd8b887be5a8040cb24d7f8670b000811b352 /apps/settings/src/components/AppList | |
parent | 122e799ff567e6e3b295ad9e475bc62b5cfbbe59 (diff) | |
download | nextcloud-server-668e35f1552301887e511e137fd08b701c4f7c04.tar.gz nextcloud-server-668e35f1552301887e511e137fd08b701c4f7c04.zip |
fix(settings): apps list html validation
- Replace invalid `width="100%"` attribute
- Add empty required `alt`
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
Diffstat (limited to 'apps/settings/src/components/AppList')
-rw-r--r-- | apps/settings/src/components/AppList/AppItem.vue | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/apps/settings/src/components/AppList/AppItem.vue b/apps/settings/src/components/AppList/AppItem.vue index 6997f5421a3..179497a0f19 100644 --- a/apps/settings/src/components/AppList/AppItem.vue +++ b/apps/settings/src/components/AppList/AppItem.vue @@ -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> |