mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 09:14:35 +02:00
Remove extra parentheses
Looks like they snuck in when refactoring to inline declaration.
This commit is contained in:
@@ -41,7 +41,7 @@ async function awaitForGallery(expectedSize, signal) {
|
||||
}
|
||||
|
||||
function updateGalleryStyles() {
|
||||
folderStylesheet.replaceSync((window.opts.theme_type
|
||||
folderStylesheet.replaceSync(window.opts.theme_type
|
||||
=== 'Modern'
|
||||
? `.gallery-folder { cursor: pointer; padding: 8px 6px 8px 6px; background-color: var(--sd-button-normal-color); border-radius: var(--sd-border-radius); text-align: left; min-width: 12em;}
|
||||
.gallery-folder:hover { background-color: var(--button-primary-background-fill-hover); }
|
||||
@@ -52,7 +52,7 @@ function updateGalleryStyles() {
|
||||
.gallery-folder { cursor: pointer; padding: 8px 6px 8px 6px; }
|
||||
.gallery-folder:hover { background-color: var(--button-primary-background-fill-hover); }
|
||||
.gallery-folder-selected { background-color: var(--button-primary-background-fill); }
|
||||
`));
|
||||
`);
|
||||
fileStylesheet.replaceSync(`
|
||||
.gallery-file {
|
||||
object-fit: contain;
|
||||
|
||||
Reference in New Issue
Block a user