Commit df4b888b authored by Thom Wiggers's avatar Thom Wiggers

Merge branch 'fix/committee-spacing' into 'master'

Fix spacing using 'first-child' class

Closes #163

See merge request !184
parents 2d15b677 4e462187
......@@ -15,7 +15,7 @@
<div id="committees">
<ul class="row committees">
{% for board in boards %}
<li class="post member-item span3 has-overlay first-child">
<li class="post member-item span3 has-overlay">
<a href="{{ board.get_absolute_url }}">
<div class="post-inner">
......
......@@ -9,7 +9,7 @@
<div id="committees">
<ul class="row committees">
{% for committee in committees %}
<li class="post member-item span3 has-overlay first-child">
<li class="post member-item span3 has-overlay">
<a href="{{ committee.get_absolute_url }}">
<div class="post-inner">
......
......@@ -174,7 +174,7 @@
<h1 class="midhead">{% trans "Registrations" %}</h1>
<ul class="member-directory row">
{% for registration in registrations %}
<li class="post member-item span3 has-overlay{% if forloop.counter0|divisibleby:4 %} first-child{% endif %}">
<li class="post member-item span3 has-overlay">
{% if registration.is_external %}
<a href="#">
<div class="post-inner">
......
......@@ -28,7 +28,7 @@
<div class="gallery">
<ul class="gallery-photos row">
{% for photo in photos %}
<li class="post gallery-photo span3 has-overlay {% if forloop.counter0|divisibleby:4 %}first-child{% endif %}">
<li class="post gallery-photo span3 has-overlay">
<a data-fancybox-rotation="{{ photo.rotation }}" class="gallery-box" rel="gallery"
{% if album.shareable %}
data-download="{% url 'photos:shared-download' album.slug album.access_token photo %}" href="{% shared_thumbnail album.slug album.access_token photo '1024x768' fit=False %}"
......
......@@ -14,7 +14,7 @@
<div class="gallery">
<ul class="gallery-albums row">
{% for album in albums %}
<li class="post gallery-album span3 has-overlay {% if forloop.counter0|divisibleby:4 %}first-child{% endif %}">
<li class="post gallery-album span3 has-overlay">
<a href="{% url 'photos:album' album.slug %}">
<span class="post-inner">
<span class="inner-img">
......
......@@ -2813,12 +2813,6 @@ body {
display: block;
}
.gallery-photo, .member-item, .committee-item, .gallery-album {
&.first-child {
margin-left: 0;
}
}
.post {
& > a {
display: block;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment