add scoped to all ncappnavigation components#4730
Conversation
Signed-off-by: Simon L <[email protected]>
|
@ShGKme I suppose this is not the fix to the linked problem? Am I missing something? |
It should work if all Is there another app that adds these styles on the page? Scoping styles with |
All right. this is ready for review then 👍 |
raimund-schluessler
left a comment
There was a problem hiding this comment.
This might have broken NcAppNavigationNewItem:
This is still an issue. Since the styles are now scoped, they need to be duplicated for NcAppNavigationNewItem to apply there.
|
Maybe share the styles as in a scss file and import as scoped styles in the components? |
af30380 to
c2834da
Compare
| } | ||
| } | ||
| <style scoped lang="scss"> | ||
| @import '../../assets/NcAppNavigationItem'; |
There was a problem hiding this comment.
@import is deprecated you should use @use
There was a problem hiding this comment.
I tried this and it didnt work: See 6c66898 and https://github.com/nextcloud-libraries/nextcloud-vue/actions/runs/6734727700/job/18306263029
Signed-off-by: Simon L <[email protected]>
6c66898 to
c0b18dd
Compare

Close nextcloud/server#41153