mirror of
https://github.com/denizsafak/abogen.git
synced 2026-07-18 21:50:28 +02:00
feat: Update Dockerfile to include mutagen dependency and enhance dashboard event handling
This commit is contained in:
@@ -205,8 +205,9 @@ const initDashboard = () => {
|
||||
});
|
||||
|
||||
document.addEventListener("click", (event) => {
|
||||
const target = event.target;
|
||||
if (!(target instanceof Element)) {
|
||||
const rawTarget = event.target;
|
||||
const target = rawTarget instanceof Element ? rawTarget : rawTarget?.parentElement || null;
|
||||
if (!target) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -1191,6 +1191,21 @@ body {
|
||||
cursor: pointer;
|
||||
transition: background 0.2s ease, color 0.2s ease;
|
||||
}
|
||||
.prepare-wizard[data-speaker-step="disabled"] [data-step-key="speakers"] {
|
||||
display: none;
|
||||
}
|
||||
.prepare-wizard[data-speaker-step="disabled"] [data-speaker-panel="true"] {
|
||||
display: none !important;
|
||||
}
|
||||
.prepare-wizard[data-speaker-step="enabled"] [data-chapter-action="finalize"] {
|
||||
display: none;
|
||||
}
|
||||
.prepare-wizard[data-speaker-step="disabled"] [data-chapter-action="continue"] {
|
||||
display: none;
|
||||
}
|
||||
.prepare-wizard[data-speaker-step="disabled"] [data-chapter-action="finalize"] {
|
||||
display: inline-flex;
|
||||
}
|
||||
|
||||
.field--file input[type="file"]:hover::file-selector-button,
|
||||
.field--file input[type="file"]:focus::file-selector-button,
|
||||
|
||||
Reference in New Issue
Block a user