diff --git a/layouts/main.moon b/layouts/main.moon index 024feed..9553c41 100644 --- a/layouts/main.moon +++ b/layouts/main.moon @@ -20,16 +20,15 @@ class extends Widget link rel: "stylesheet", href: "/static/main.css" body -> div class: "container", -> + h1(@title or "Simplex") div class: "row", -> - div class: "column column-25 btns", -> + div class: "column btns", -> if @user a class: "button", href: @url_for("index"), "Tasks" else a class: "button", href: @url_for("index"), "About" a class: "button", href: @url_for("docs_v1"), "API Docs" - div class: "column column-100", -> - h1(@title or "Simplex") - div class: "column column-25 btns", -> + if @user a class: "button", href: @url_for("user_me"), "You" a class: "button", href: @url_for("user_logout"), "Log Out" diff --git a/static/main.css b/static/main.css index c00676b..083738e 100644 --- a/static/main.css +++ b/static/main.css @@ -22,10 +22,5 @@ h1 { } .btns { - display: flex !important; - justify-content: flex-end; - align-items: center; -} -.btns > a { - margin: 1rem; + justify-content: center; }