Compare commits
No commits in common. "9d84e1e918e8c2e1275ad6d2efbb085313e83693" and "34102eb6db538fd1110b708add209afe716fcba2" have entirely different histories.
9d84e1e918
...
34102eb6db
@ -64,9 +64,6 @@ Object.assign(BackupPage.prototype, {
|
|||||||
|
|
||||||
const applyVisibility = (presetKey) => {
|
const applyVisibility = (presetKey) => {
|
||||||
const isCustom = presetKey === 'custom';
|
const isCustom = presetKey === 'custom';
|
||||||
// Gate the block's divider on custom too — it separates the dropdown
|
|
||||||
// from the Keep-* fields, which only show in the custom state.
|
|
||||||
block.classList.toggle('is-custom', isCustom);
|
|
||||||
wrappers.forEach(w => { if (w) w.style.display = isCustom ? '' : 'none'; });
|
wrappers.forEach(w => { if (w) w.style.display = isCustom ? '' : 'none'; });
|
||||||
};
|
};
|
||||||
applyVisibility(preset);
|
applyVisibility(preset);
|
||||||
|
|||||||
@ -713,13 +713,6 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 6px;
|
gap: 6px;
|
||||||
}
|
|
||||||
|
|
||||||
/* The divider (and its spacing) belongs only to the "Custom" state: the Keep-*
|
|
||||||
fields it separates the dropdown from are hidden for every preset except
|
|
||||||
custom, so otherwise it's an orphaned line under the dropdown. The .is-custom
|
|
||||||
class is toggled by applyVisibility() in the retention enhancer. */
|
|
||||||
.backup-retention-preset-block.is-custom {
|
|
||||||
padding-bottom: 14px;
|
padding-bottom: 14px;
|
||||||
margin-bottom: 6px;
|
margin-bottom: 6px;
|
||||||
border-bottom: 1px solid rgba(var(--text-rgb), 0.08);
|
border-bottom: 1px solid rgba(var(--text-rgb), 0.08);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user