Skip to content

A full-featured download manager.

refactor: form actions position sticky

Dr_rOotddbf27e2f962
diff --git a/src/renderer/components/Preference/Index.vue b/src/renderer/components/Preference/Index.vue
index 98300d7e..78c97bb7 100644
--- a/src/renderer/components/Preference/Index.vue
+++ b/src/renderer/components/Preference/Index.vue
@@ -56,16 +56,13 @@
}
}
.form-actions {
- position: fixed;
+ position: sticky;
bottom: 0;
left: auto;
z-index: 10;
width: -webkit-fill-available;
box-sizing: border-box;
- padding: 24px 36px;
- margin-left: -36px;
- // aside.width + subnav.width + padding-left + scrollbar.width
- margin-right: 322px;
+ padding: 24px 36px 24px 0;
}
.action-link {
cursor: pointer;