Fix no item styling in Cosora and add another nbsp.
This commit is contained in:
parent
65eadbd4b6
commit
09265195bb
|
@ -79,7 +79,7 @@
|
|||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>{{else}}<div class="rowitem passive rowmsg">{{lang "forum_no_topics"}}{{if .CurrentUser.Loggedin}}{{if .CurrentUser.Perms.CreateTopic}} <a href="/topics/create/{{.Forum.ID}}">{{lang "forum_start_one"}}</a>{{end}}{{end}}</div>{{end}}
|
||||
</div>{{else}}<div class="rowitem passive rowmsg">{{lang "forum_no_topics"}}{{if .CurrentUser.Loggedin}}{{if .CurrentUser.Perms.CreateTopic}} <a href="/topics/create/{{.Forum.ID}}">{{lang "forum_start_one"}}</a>{{end}}{{end}}</div>{{end}}
|
||||
</div>
|
||||
|
||||
{{template "paginator.html" . }}
|
||||
|
|
|
@ -12,14 +12,12 @@
|
|||
<input form="ip-search-form" class="ip_search_search" type="submit" value="{{lang "ip_search_search_button"}}" />
|
||||
</div>
|
||||
</div>
|
||||
{{if .IP}}
|
||||
<div class="rowblock rowlist bgavatars micro_grid">
|
||||
{{if .IP}}<div class="rowblock rowlist bgavatars micro_grid{{if .ItemList}} has_items{{end}}">
|
||||
{{range .ItemList}}<div class="rowitem" style="background-image:url('{{.Avatar}}');">
|
||||
<img src="{{.Avatar}}" class="bgsub" alt="Avatar" aria-hidden="true" />
|
||||
<a class="rowTitle" href="{{.Link}}">{{.Name}}</a>
|
||||
</div>
|
||||
{{else}}<div class="rowitem rowmsg">{{lang "ip_search_no_users"}}</div>{{end}}
|
||||
</div>
|
||||
{{end}}
|
||||
</div>{{end}}
|
||||
</main>
|
||||
{{template "footer.html" . }}
|
|
@ -271,6 +271,7 @@ h1, h2, h3, h4, h5 {
|
|||
.forum_list .rowmsg.rowitem {
|
||||
border: 1px solid var(--element-border-color);
|
||||
border-bottom: 2px solid var(--element-border-color);
|
||||
background-color: var(--element-background-color);
|
||||
}
|
||||
|
||||
.colstack {
|
||||
|
@ -1245,10 +1246,16 @@ red {
|
|||
margin-bottom: 14px;
|
||||
}
|
||||
|
||||
#ip_search_container .rowlist:not(.has_items) {
|
||||
display: block;
|
||||
}
|
||||
#ip_search_container .rowlist .rowitem {
|
||||
padding-top: 16px;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
#ip_search_container .rowlist .rowmsg {
|
||||
width: 100%;
|
||||
}
|
||||
.ip_search_block .rowitem {
|
||||
padding: 8px;
|
||||
padding-left: 12px;
|
||||
|
|
|
@ -215,7 +215,7 @@ li a {
|
|||
background-color: #444444;
|
||||
padding: 16px;
|
||||
}
|
||||
.rowblock:not(.topic_list):not(.rowhead):not(.opthead) .rowitem:not(.post_item) {
|
||||
.rowblock:not(.topic_list):not(.rowhead):not(.opthead) .rowitem:not(.post_item), .topic_list .rowitem.rowmsg {
|
||||
border-radius: 3px;
|
||||
background-color: #444444;
|
||||
display: flex;
|
||||
|
|
Loading…
Reference in New Issue