fixed button layout
This commit is contained in:
parent
49d65805e9
commit
fa2abc6f38
@ -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"
|
||||
|
@ -22,10 +22,5 @@ h1 {
|
||||
}
|
||||
|
||||
.btns {
|
||||
display: flex !important;
|
||||
justify-content: flex-end;
|
||||
align-items: center;
|
||||
}
|
||||
.btns > a {
|
||||
margin: 1rem;
|
||||
justify-content: center;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user