mirror of
https://github.com/wagtail/wagtail.git
synced 2024-12-01 11:41:20 +01:00
Alignment of elements on list view including ordering
This commit is contained in:
parent
4f58f1e8ff
commit
d0a2573ec8
@ -283,7 +283,7 @@ ul.listing {
|
|||||||
|
|
||||||
th.ord,
|
th.ord,
|
||||||
&.full-width th:first-child.ord {
|
&.full-width th:first-child.ord {
|
||||||
padding-left: 10px;
|
padding-left: 25px;
|
||||||
}
|
}
|
||||||
|
|
||||||
th.ord a:before {
|
th.ord a:before {
|
||||||
@ -649,7 +649,7 @@ table.listing {
|
|||||||
|
|
||||||
&.full-width td:first-child,
|
&.full-width td:first-child,
|
||||||
&.full-width th:first-child {
|
&.full-width th:first-child {
|
||||||
padding-left: 50px;
|
padding-left: 25px;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.full-width .divider td {
|
&.full-width .divider td {
|
||||||
@ -683,3 +683,10 @@ table.listing {
|
|||||||
@include transition(all 0.2s ease);
|
@include transition(all 0.2s ease);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Ordering
|
||||||
|
td.ord {
|
||||||
|
.handle {
|
||||||
|
margin-top: -28px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -20,9 +20,11 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
li {
|
li {
|
||||||
@include nice-padding;
|
// @include nice-padding;
|
||||||
padding-top: 1.3em;
|
padding-top: 1.6em;
|
||||||
padding-bottom: 1.3em;
|
padding-right: 3em;
|
||||||
|
padding-bottom: 1.6em;
|
||||||
|
padding-left: 1.6em;
|
||||||
color: $color-white;
|
color: $color-white;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -90,7 +92,7 @@
|
|||||||
|
|
||||||
@media screen and (min-width: $breakpoint-mobile) {
|
@media screen and (min-width: $breakpoint-mobile) {
|
||||||
.messages ul li {
|
.messages ul li {
|
||||||
padding-left: $desktop-nice-padding;
|
padding-left: 1.6em;
|
||||||
padding-right: $desktop-nice-padding;
|
padding-right: 3em;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
{% load wagtailadmin_tags %}
|
{% load wagtailadmin_tags %}
|
||||||
<table class="listing {% if full_width %}full-width{% endif %} {% block table_classname %}{% endblock %}">
|
<table class="listing {% if full_width %}full-width{% endif %} {% block table_classname %}{% endblock %}">
|
||||||
{% if show_ordering_column %}
|
{% if show_ordering_column %}
|
||||||
<col width="50px" />
|
<col width="65px" />
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<col />
|
<col />
|
||||||
{% if show_parent %}
|
{% if show_parent %}
|
||||||
|
Loading…
Reference in New Issue
Block a user