diff --git a/changelog/unreleased/bugfix-remove-click-event-oc-icon b/changelog/unreleased/bugfix-remove-click-event-oc-icon new file mode 100644 index 000000000..d15e89648 --- /dev/null +++ b/changelog/unreleased/bugfix-remove-click-event-oc-icon @@ -0,0 +1,5 @@ +Bugfix: Remove click event on OcIcon + +We have removed an unnecessary default click handler on the OcIcon component, expecting it to increase performance of the UI. + +https://github.com/owncloud/owncloud-design-system/pull/2216 diff --git a/changelog/unreleased/enhancement-redesign-notifications b/changelog/unreleased/enhancement-redesign-notifications index 67512efc9..230056883 100644 --- a/changelog/unreleased/enhancement-redesign-notifications +++ b/changelog/unreleased/enhancement-redesign-notifications @@ -4,4 +4,5 @@ We have redesigned the notifications component to fit the overal new look of the It can now also be rendered "unpositioned" instead of having it always stick to the top of the screen. https://github.com/owncloud/owncloud-design-system/pull/2210 +https://github.com/owncloud/owncloud-design-system/pull/2216 https://github.com/owncloud/web/issues/7082 diff --git a/src/components/atoms/OcIcon/OcIcon.vue b/src/components/atoms/OcIcon/OcIcon.vue index 9aedbf9c6..ec39483b8 100644 --- a/src/components/atoms/OcIcon/OcIcon.vue +++ b/src/components/atoms/OcIcon/OcIcon.vue @@ -7,7 +7,6 @@ sizeClass(size), variationClass(variation), ]" - @click="onClick" > .oc-notification { box-sizing: border-box; + max-width: 100%; width: 400px; z-index: 1040; diff --git a/src/components/organisms/OcResource/OcResource.vue b/src/components/organisms/OcResource/OcResource.vue index 21ed32421..ad4204d0a 100644 --- a/src/components/organisms/OcResource/OcResource.vue +++ b/src/components/organisms/OcResource/OcResource.vue @@ -61,7 +61,6 @@