diff --git a/src/app/send/send.component.ts b/src/app/send/send.component.ts
index 1463a65b..b7aa5146 100644
--- a/src/app/send/send.component.ts
+++ b/src/app/send/send.component.ts
@@ -91,8 +91,20 @@ export class SendComponent extends BaseSendComponent implements OnInit, OnDestro
this.sendId = null;
}
+ async deletedSend(s: SendView) {
+ await this.refresh();
+ this.action = Action.None;
+ this.sendId = null;
+ }
+
+ async savedSend(s: SendView) {
+ console.log(s);
+ await this.refresh();
+ this.selectSend(s.id);
+ }
+
async selectSend(sendId: string) {
- if (sendId === this.sendId) {
+ if (sendId === this.sendId && this.action === Action.Edit) {
return;
}
this.action = Action.Edit;
diff --git a/src/scss/box.scss b/src/scss/box.scss
index 1b17e51a..ae0c3174 100644
--- a/src/scss/box.scss
+++ b/src/scss/box.scss
@@ -102,7 +102,7 @@
&:hover, &:focus, &.active {
@include themify($themes) {
background-color: themed('boxBackgroundHoverColor');
- textarea {
+ > * {
background-color: themed('boxBackgroundHoverColor');
}
}
@@ -169,7 +169,7 @@
&.box-content-row-multi {
width: 100%;
- input:not([type="checkbox"]):not([type="checkbox"]) {
+ input:not([type="checkbox"]):not([type="radio"]) {
width: 100%;
}
@@ -251,8 +251,8 @@
}
&.box-content-row-radio {
- display: grid;
- grid-template-columns: 1fr;
+ display: flex;
+ flex-direction: column;
.item {
display: flex;
flex: 1;