From 89b8eb40d3669a516d823cf6041f3543127e1ad5 Mon Sep 17 00:00:00 2001 From: Luke Childs Date: Thu, 8 Sep 2016 15:29:29 +0100 Subject: [PATCH] Use nth-of-type to get icon cell Saves adding a class to every single row --- assets/style.css | 2 +- views/listing.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/style.css b/assets/style.css index ff4e085..934cdc0 100644 --- a/assets/style.css +++ b/assets/style.css @@ -147,7 +147,7 @@ td:first-child { float: right; } -table .icons { +table td:nth-of-type(6) { letter-spacing: -0.4em; } diff --git a/views/listing.html b/views/listing.html index 4c4c128..f8303d0 100644 --- a/views/listing.html +++ b/views/listing.html @@ -27,7 +27,7 @@ {{ node | bandwidth }} {{ node | uptime }} {{ node.country_name }} - + {% if node.flags.length %} {% for flag in node.flags %} {{ flag }}