Skip to content

Commit

Permalink
fix(settings): apps list html validation
Browse files Browse the repository at this point in the history
- Replace invalid `width="100%"` attribute
- Add empty required `alt`

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
  • Loading branch information
ShGKme committed Oct 23, 2023
1 parent d43c66e commit 99876aa
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions apps/settings/src/components/AppList/AppItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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>

0 comments on commit 99876aa

Please sign in to comment.