From 97ae37651fa56856d37d09519c0c3258b51b71c2 Mon Sep 17 00:00:00 2001 From: 8n-tech <8n-tech@users.noreply.github.com> Date: Tue, 21 Apr 2015 11:33:04 +1000 Subject: [PATCH] Quickfix of CSS issues for boardlist. #467 - Added missing HTML for noJS users. #467 - Added additional CSS for FireFox fixes. Signed-off-by: 8n-tech <8n-tech@users.noreply.github.com> --- stylesheets/style.css | 9 ++++++++- templates/8chan/boards-table.html | 6 +++--- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/stylesheets/style.css b/stylesheets/style.css index 2a805d16..4a0dfc3d 100644 --- a/stylesheets/style.css +++ b/stylesheets/style.css @@ -1457,6 +1457,10 @@ table.board-list-table .board-cell { overflow: hidden; text-overflow: ellipsis; } +table.board-list-table .board-cell::after { + content: ' '; + clear: both; +} table.board-list-table .board-meta { padding-right: 4px; @@ -1500,7 +1504,10 @@ table.board-list-table .board-tags .board-cell:hover { table.board-list-table tr:nth-of-type( even ) .board-tags .board-cell { background: #D6DAF0; } - +table.board-list-table .board-uri a { + display: inline-block; + float: left; +} table.board-list-table .board-uri .board-nsfw { color: rgb(230,0,0); margin: 0 0 0 0.6em; diff --git a/templates/8chan/boards-table.html b/templates/8chan/boards-table.html index eefa58ee..cf36a3e4 100644 --- a/templates/8chan/boards-table.html +++ b/templates/8chan/boards-table.html @@ -6,9 +6,9 @@ {% if board['sfw'] %}{% endif %}
{{board['title']|e}}
{{board['pph']}}
{{board['active']}}
{{board['pph']}}
{{board['active']}}
{% for tag in board.tags %}{{tag|e}}{% endfor %}
{{board['posts_total']}}
{{board['posts_total']}}