Skip to content

Commit 5db01f0

Browse files
authored
Merge pull request #61648 from nextcloud/fix/public-page-menu-global-filter-scope
fix(core): scope public share theme filter to the download icon
2 parents 6d18a40 + c9aa644 commit 5db01f0

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

core/src/views/PublicPageMenu.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,12 +146,12 @@ function openDialogIfNeeded() {
146146
}
147147
148148
// Dark theme via Nextcloud setting (data-themes attribute, not media query)
149-
:global([data-themes*=dark]) .public-page-menu__primary-icon {
149+
:global([data-themes*=dark] .public-page-menu__primary-icon) {
150150
filter: var(--primary-invert-if-bright);
151151
}
152152
153153
// Light theme explicitly set (overrides dark media query if system is dark but user chose light)
154-
:global([data-themes*=light]) .public-page-menu__primary-icon {
154+
:global([data-themes*=light] .public-page-menu__primary-icon) {
155155
filter: var(--primary-invert-if-dark);
156156
}
157157
</style>

0 commit comments

Comments
 (0)