minor fix

This commit is contained in:
Tony Yang 2019-06-02 03:32:33 +08:00
parent 8199198816
commit 348170529a
Signed by: t510599
GPG Key ID: D88388851C28715D
2 changed files with 25 additions and 5 deletions

View File

@ -84,6 +84,9 @@ router.on({
"/post/page/:page": function (params) {
render("post", "page", params.page);
},
"/post/user/:username": function (params) {
render("post", "user", params.username);
},
"/user": function () {
render("user", "list");
},

View File

@ -2,6 +2,17 @@
overflow-x: hidden;
}
.clearfix::after {
display: block;
content: '';
clear: both;
}
div.table.wrapper {
overflow-x: auto;
width: 100%;
}
/* nav bar */
button#toggleSidebar {
border-radius: 0;
@ -35,11 +46,17 @@ button#toggleSidebar {
padding-bottom: 1.5em;
}
/* config */
#config::after {
display: block;
content: '';
clear: both;
/* likers list */
details.ts.accordion div.content {
padding-left: 1em;
}
/* user avatar */
#avatar {
max-width: 15em;
max-height: 15em;
width: auto;
height: auto;
}
@media (max-width: 768px) {