aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files
diff options
context:
space:
mode:
authorKate <26026535+provokateurin@users.noreply.github.com>2024-01-22 18:13:03 +0100
committerGitHub <noreply@github.com>2024-01-22 18:13:03 +0100
commit64ccc1ef87f095957bb6d169d7099e8c1976bf67 (patch)
tree4ed229bc979d8d3048ab708a674978b8d868d6d7 /apps/files
parent1a5d5a22e0442e21399f4b676ed4ff1899729246 (diff)
parentd11c6b63c72c4fb5056dcc85e85d6c762d5b7695 (diff)
downloadnextcloud-server-64ccc1ef87f095957bb6d169d7099e8c1976bf67.tar.gz
nextcloud-server-64ccc1ef87f095957bb6d169d7099e8c1976bf67.zip
Merge pull request #43027 from nextcloud/fix/svg-viewbox-attribute
fix: Use viewBox instead of viewbox in SVGs
Diffstat (limited to 'apps/files')
-rw-r--r--apps/files/img/add-color.svg2
-rw-r--r--apps/files/src/components/FileEntry/FavoriteIcon.vue2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/files/img/add-color.svg b/apps/files/img/add-color.svg
index 3cd2c61726b..246e40d978d 100644
--- a/apps/files/img/add-color.svg
+++ b/apps/files/img/add-color.svg
@@ -1 +1 @@
-<svg width="16" height="16" version="1.1" viewbox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M9.02 13.98h-2v-5h-5v-2h5v-5h2v5l5-.028V8.98h-5z" fill="#00d400"/></svg>
+<svg width="16" height="16" version="1.1" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M9.02 13.98h-2v-5h-5v-2h5v-5h2v5l5-.028V8.98h-5z" fill="#00d400"/></svg>
diff --git a/apps/files/src/components/FileEntry/FavoriteIcon.vue b/apps/files/src/components/FileEntry/FavoriteIcon.vue
index 2d3373d7b42..40eff17fe9b 100644
--- a/apps/files/src/components/FileEntry/FavoriteIcon.vue
+++ b/apps/files/src/components/FileEntry/FavoriteIcon.vue
@@ -53,7 +53,7 @@ export default defineComponent({
},
async mounted() {
await this.$nextTick()
- // MDI default viewbox is "0 0 24 24" but we add a stroke of 10px so we must adjust it
+ // MDI default viewBox is "0 0 24 24" but we add a stroke of 10px so we must adjust it
const el = this.$el.querySelector('svg')
el?.setAttribute?.('viewBox', '-4 -4 30 30')
},