More tweaking
This commit is contained in:
@@ -99,7 +99,7 @@ body {
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.action-search {
|
.action-refresh {
|
||||||
flex: 1 1 150px;
|
flex: 1 1 150px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -486,9 +486,13 @@ footer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 600px) {
|
@media (max-width: 600px) {
|
||||||
|
body {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.action-bar {
|
.action-bar {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: stretch;
|
justify-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.action-bar select,
|
.action-bar select,
|
||||||
@@ -497,7 +501,7 @@ footer {
|
|||||||
width: 100%0px;
|
width: 100%0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.action-search {
|
.action-refresh {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -46,7 +46,13 @@ templ Board(board database.Board, isAdmin bool) {
|
|||||||
<option value="replycount">Reply count</option>
|
<option value="replycount">Reply count</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div class="action-item action-search">
|
<div class="action-item action-refresh">
|
||||||
|
<a
|
||||||
|
class="link-button"
|
||||||
|
_="on click trigger refreshPosts on body"
|
||||||
|
>[Refresh]</a>
|
||||||
|
</div>
|
||||||
|
<div class="action-item">
|
||||||
<input
|
<input
|
||||||
type="search"
|
type="search"
|
||||||
id="catalogSearch"
|
id="catalogSearch"
|
||||||
@@ -54,12 +60,6 @@ templ Board(board database.Board, isAdmin bool) {
|
|||||||
oninput="applyCatalogSearch()"
|
oninput="applyCatalogSearch()"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div class="action-item">
|
|
||||||
<a
|
|
||||||
class="link-button"
|
|
||||||
_="on click trigger refreshPosts on body"
|
|
||||||
>[Refresh]</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<hr/>
|
<hr/>
|
||||||
<div
|
<div
|
||||||
|
|||||||
@@ -102,9 +102,7 @@ templ PostOriginal(post database.Post, thread database.Thread) {
|
|||||||
}
|
}
|
||||||
</span>
|
</span>
|
||||||
<h1 class="thread-subject">
|
<h1 class="thread-subject">
|
||||||
if thread.Subject != "" {
|
{ thread.Subject }
|
||||||
{ thread.Subject } -
|
|
||||||
}
|
|
||||||
</h1>
|
</h1>
|
||||||
<span class="post-author">{ post.Author }</span>
|
<span class="post-author">{ post.Author }</span>
|
||||||
<span class="post-date">{ post.CreatedAt.Format("01/02/2006") }</span>
|
<span class="post-date">{ post.CreatedAt.Format("01/02/2006") }</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user