Skip to content

Commit

Permalink
CSS tweaks to dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmerfield committed Aug 25, 2022
1 parent af8480d commit 90bf957
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions app/dashboard/index.js
Expand Up @@ -156,6 +156,7 @@ dashboard.use("/account", require("./routes/account"));

dashboard.get("/dashboard", require("./load-blogs"), function (req, res, next) {
res.locals.title = "Your blogs";
res.locals.breadcrumbs.add("Your blogs", "/dashboard");
res.render("index");
});

Expand Down
3 changes: 2 additions & 1 deletion app/dashboard/views/css/site.css
Expand Up @@ -1292,6 +1292,7 @@ p.sub {
display: flex;
flex-wrap: wrap;
position: relative;
padding-top: 11px;
}

.dropdown a {
Expand Down Expand Up @@ -1760,6 +1761,7 @@ form.account>.buttons {
padding: 10px 20px;
}


a.line:hover,
div.line a.link:hover,
.dropdown a:hover,
Expand Down Expand Up @@ -1881,7 +1883,6 @@ a:hover .tablet-cover {
form.account,
.inset {
padding: 11px 26px;
border-top: 1px solid rgba(0,0,0,0.05);
max-width: 700px
}

Expand Down
4 changes: 2 additions & 2 deletions app/dashboard/views/partials/wrapper.html
Expand Up @@ -83,7 +83,8 @@

<div class="wrapper" style="width:100%;margin:0 auto;display:flex;flex-direction:column;">

<div style="display: flex;padding-bottom: 0.5rem;">
<div style="display: flex;padding-bottom: 0.5rem; border-bottom:1px solid rgba(0,0,0,0.05)
">
<div style="display: flex;width: 100%; padding: 16px 0 16px 20px
">
<div class="breadcrumbs" style="flex-grow:1;flex-shrink:0;padding-left: 0;margin-top: 3px">
Expand Down Expand Up @@ -148,7 +149,6 @@
{{message.text}}
</a>
{{/message.error}}

{{> yield}}
</div>

Expand Down
2 changes: 1 addition & 1 deletion app/dashboard/views/settings/index.html
Expand Up @@ -9,7 +9,7 @@
<div>

<form method='post' action='?_csrf={{csrftoken}}' enctype='multipart/form-data'>
<a class="line" style="border-top:1px solid rgba(0,0,0,0.05)" href="{{{base}}}/title">
<a class="line" href="{{{base}}}/title">
<span class="label">Title</span>
<span class="center">
{{blog.title}}
Expand Down
1 change: 0 additions & 1 deletion app/dashboard/views/settings/subpage.html
@@ -1,5 +1,4 @@
<style type="text/css">
form {border-top: 1px solid rgba(0,0,0,0.05);}
form label {padding-top: 0} hr {margin: 20px 0}
.shrinker {max-width:700px}
</style>
Expand Down

0 comments on commit 90bf957

Please sign in to comment.