-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add scoped to all ncappnavigation components #4730
Conversation
Signed-off-by: Simon L <szaimen@e.mail.de>
@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 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@import
is deprecated you should use @use
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 <szaimen@e.mail.de>
6c66898
to
c0b18dd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
works!
Close nextcloud/server#41153