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