mirror of
https://github.com/rystaf/mlmym.git
synced 2024-11-04 22:33:15 +00:00
fix minimized comment padding, loadmore end jerk
This commit is contained in:
parent
4fcfda174d
commit
48d12530fe
|
@ -83,7 +83,7 @@ summary {
|
|||
max-width: 840px;
|
||||
}
|
||||
.comment.hidden .score {
|
||||
display: none;
|
||||
visibility: hidden;
|
||||
}
|
||||
.score form.link-btn input {
|
||||
display: block;
|
||||
|
@ -264,7 +264,6 @@ summary {
|
|||
}
|
||||
.comment.hidden {
|
||||
margin-bottom: 10px;
|
||||
padding-left: 26px;
|
||||
}
|
||||
.comment.hidden .meta a {
|
||||
color: gray;
|
||||
|
@ -379,7 +378,7 @@ form.nsfw div {
|
|||
text-decoration: none;
|
||||
color: #369;
|
||||
}
|
||||
#loadmore {
|
||||
#loadmore, #end {
|
||||
visibility: hidden;
|
||||
margin: 10px 0px;
|
||||
}
|
||||
|
|
|
@ -105,7 +105,7 @@ function loadMore(e) {
|
|||
e.target.outerHTML = res + '<input id="loadmore" type="submit" data-page="'+(parseInt(page)+1)+'" value="load more" onclick="loadMore(event)">'
|
||||
}
|
||||
else {
|
||||
e.target.outerHTML = ""
|
||||
e.target.outerHTML = '<input id="end" type="submit" value="" disabled>'
|
||||
}
|
||||
})
|
||||
return false;
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<head>
|
||||
<title>{{ if and .Community (ne .Community.CommunityView.Community.Title "")}}{{.Community.CommunityView.Community.Title}}{{else if ne .CommunityName ""}}/c/{{.CommunityName}}{{ else if .User}}overview for {{.User.PersonView.Person.Name}}{{else}}{{ host .Host }}{{end}}</title>
|
||||
<link rel="shortcut icon" href="/{{.Host}}/icon.jpg">
|
||||
<link rel="stylesheet" href="/_/static/style.css?v=11">
|
||||
<link rel="stylesheet" href="/_/static/style.css?v=12">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
</head>
|
||||
<body {{ if .Dark }}class="dark"{{end}}>
|
||||
|
@ -55,6 +55,6 @@
|
|||
{{ template "sidebar.html" . }}
|
||||
</main>
|
||||
{{ end }}
|
||||
<script src="/_/static/utils.js?v=5"></script>
|
||||
<script src="/_/static/utils.js?v=6"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<title>{{if and .Posts .PostID }}{{ (index .Posts 0).Post.Name}} : {{.CommunityName}}{{else if and .Community (ne .Community.CommunityView.Community.Title "")}}{{.Community.CommunityView.Community.Title}}{{else if ne .CommunityName ""}}/c/{{.CommunityName}}{{ else if .User}}overview for {{.User.PersonView.Person.Name}}{{else}}{{ host .Host }}{{end}}</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<link rel="shortcut icon" href="/{{.Host}}/icon.jpg">
|
||||
<link rel="stylesheet" href="/_/static/style.css?v=11">
|
||||
<link rel="stylesheet" href="/_/static/style.css?v=12">
|
||||
</head>
|
||||
<body{{ if .Dark }} class="dark"{{end}}>
|
||||
<noscript>
|
||||
|
@ -127,7 +127,7 @@
|
|||
<input id="loadmore" type="submit" value="load more" onclick="loadMore(event)" data-page="2">
|
||||
{{ end }}
|
||||
|
||||
<script src="/_/static/utils.js?v=5"></script>
|
||||
<script src="/_/static/utils.js?v=6"></script>
|
||||
{{ template "sidebar.html" . }}
|
||||
</main>
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in a new issue