feat(control-center/page): add bottom-buttons prop to add page-bottom buttons easily

also, no need for widgets, you just use a jsobject to create a button inside the prop array
This commit is contained in:
retrozinndev
2025-05-25 14:55:37 -03:00
parent 73b2e96c93
commit a25468e54a
4 changed files with 114 additions and 41 deletions
+14 -5
View File
@@ -121,7 +121,7 @@
& .sub-header {
font-size: 14px;
font-weight: 500;
margin-bottom: 6px;
margin-bottom: 4px;
}
& button {
@@ -135,6 +135,19 @@
}
}
& .bottom-buttons button {
& label.title {
font-size: 14px;
font-weight: 500;
}
& label.description {
font-size: 10px;
margin-top: -1px;
font-weight: 400;
color: colors.$fg-disabled;
}
}
& .extra-buttons {
margin-left: 2px;
& > button {
@@ -251,10 +264,6 @@ box.history {
button.connected {
background: colors.$bg-tertiary;
}
&.paired {
margin-bottom: 20px;
}
}
}