mirror of
https://github.com/djohnlewis/stackdump
synced 2024-12-04 23:17:37 +00:00
Fixed some minor CSS issues, and fixed issues when there is only one site imported in Stackdump.
This commit is contained in:
parent
06e210d37a
commit
43f49d1827
@ -157,8 +157,8 @@ pre code {
|
||||
.post-stat {
|
||||
text-align: center;
|
||||
background-color: #F2F2F2;
|
||||
margin-bottom: 2px;
|
||||
padding: 4px 3px;
|
||||
margin-bottom: 5px;
|
||||
padding: 10px 5px;
|
||||
}
|
||||
|
||||
.post-stat p {
|
||||
@ -249,7 +249,7 @@ li .post-comment-score {
|
||||
|
||||
li .post-comment-text {
|
||||
margin-left: 40px;
|
||||
line-height: normal;
|
||||
line-height: 20px;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{% if results|length == 0 %}
|
||||
<p><em>No questions or answers found for your query.</em></p>
|
||||
{% if site %}
|
||||
{% if site and sites|list|length > 1 %}
|
||||
<p>Try searching in another StackExchange website by using the links on the right.</p>
|
||||
{% endif %}
|
||||
{% else %}
|
||||
|
@ -32,6 +32,8 @@
|
||||
</p>
|
||||
</div>
|
||||
|
||||
{# don't bother showing if we're the only site. #}
|
||||
{% if sites|list|length > 1 %}
|
||||
<div class="well site-list-container">
|
||||
<h3>Search other sites</h3>
|
||||
<ul class="site-list">
|
||||
@ -51,6 +53,7 @@
|
||||
<h3>or...</h3>
|
||||
<a href="{{ SETTINGS.APP_URL_ROOT }}search?q={{ query }}&s={{ sort_by }}">search across all sites.</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
Loading…
Reference in New Issue
Block a user