diff --git a/src/Website/Views/Blog/Manage.cshtml b/src/Website/Views/Blog/Manage.cshtml index 75421e1..a31e93e 100644 --- a/src/Website/Views/Blog/Manage.cshtml +++ b/src/Website/Views/Blog/Manage.cshtml @@ -6,10 +6,10 @@ New Post - +
@foreach (var post in Model) { - - + + diff --git a/src/Website/wwwroot/css/blog.scss b/src/Website/wwwroot/css/blog.scss index dbb6673..7a77b10 100644 --- a/src/Website/wwwroot/css/blog.scss +++ b/src/Website/wwwroot/css/blog.scss @@ -168,12 +168,4 @@ .CodeMirror *{ transition: none; // Fix weird scroll issue as a result of site-wide transition. } -} - -.post-list { - border-collapse: collapse; - - &__post:hover { - background: $Grey-300; - } } \ No newline at end of file diff --git a/src/Website/wwwroot/css/style.scss b/src/Website/wwwroot/css/style.scss index 2c78e37..1318fe2 100644 --- a/src/Website/wwwroot/css/style.scss +++ b/src/Website/wwwroot/css/style.scss @@ -227,6 +227,33 @@ form { } } +table.actions { + border-collapse: collapse; + width:100%; + + tr:hover { + background: $Grey-300; + } + + td { + &.stretch{ + width: 99%; + } + + &.nowrap{ + white-space: nowrap; + } + + &:not(:first-child) { + padding-left: 5px; + + pre { + margin: 0; + } + } + } +} + @import "blog.scss"; @import "home.scss";
@post.Title
@post.Title Edit Preview Publish