@@ -8,3 +8,10 @@
max-width: 750px;
padding: 15px;
}
+
+#AddMenu .circle{
+ position: absolute;
+ top: 15px;
+ right: 15px;
+ width: initial;
+}
@@ -9,6 +9,12 @@ export default class AddMenu extends Page{
render(){
+ new Elem("button")
+ .text("X")
+ .addClass("button", "circle")
+ .onclick(()=>{changePage("home")})
+ .appendTo(this.container);
new Elem("button")
.text("New Transaction")
.addClass("button")