aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2016-03-31 12:02:06 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2016-03-31 12:02:06 +0100
commitca306d7bbb0bf0baa8d800ea1482b1faa3431022 (patch)
tree6f265754373c2eade21cf4ab51ee8996c82df992
parent35b1a5cf224374d888c7dbee29cfda2263b7e70c (diff)
[UK] Tweak list pin padding and CSS comments.
-rw-r--r--web/cobrands/bromley/layout.scss4
-rw-r--r--web/cobrands/sass/_report_list_pins.scss6
2 files changed, 5 insertions, 5 deletions
diff --git a/web/cobrands/bromley/layout.scss b/web/cobrands/bromley/layout.scss
index 0297f08c3..ed3ba193f 100644
--- a/web/cobrands/bromley/layout.scss
+++ b/web/cobrands/bromley/layout.scss
@@ -96,8 +96,8 @@ h1.main {
}
// We have slightly different content in our lists of issues to what
-// reports_list.scss expects, so we need to add back some padding it removes.
-// This stops the pin icon being underneath the text.
+// reports_list.scss expects, so we need to tweak the padding back to normal.
+// This stops the spacing being too large.
.item-list__item--with-pin a {
padding: 0;
padding-left: 3em;
diff --git a/web/cobrands/sass/_report_list_pins.scss b/web/cobrands/sass/_report_list_pins.scss
index 3432e2bbf..143588b0e 100644
--- a/web/cobrands/sass/_report_list_pins.scss
+++ b/web/cobrands/sass/_report_list_pins.scss
@@ -7,7 +7,7 @@
a {
display: block;
padding: 1em;
- padding-#{$left}: 4em;
+ padding-#{$left}: 3em;
border-#{$left}: solid 1em transparent;
background: transparent url(/i/pin-yellow-small.png) no-repeat $left center;
}
@@ -30,7 +30,7 @@
display: block;
height: 1px;
position: absolute;
- #{$left}: 4em;
+ #{$left}: 3em;
#{$right}: 0;
bottom: 0;
background-color: #e5e5e5;
@@ -60,7 +60,7 @@
}
}
-/* The front page is using the parent _item.html template */
+/* We have no padding on the front page */
body.frontpage {
.item-list__item--with-pin a {
padding: 0;