Simplify "check all/none" buttons layout
The float property was removed in commitb71c61e40, but then it was added again in commit4a6313fed. It might have been necessary to do so back then because we had a `select` field instead of the links to set the order, but now, instead of making them float on the left and then make the next element clear the floats, we can do nothing and obtain the same results.
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
.check-all-none {
|
.check-all-none {
|
||||||
float: $global-left;
|
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
margin-#{$global-left}: 0;
|
margin-#{$global-left}: 0;
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<%= render Moderation::Shared::IndexComponent.new(@budget_investments) do %>
|
<%= render Moderation::Shared::IndexComponent.new(@budget_investments) do %>
|
||||||
<table class="clear">
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th><%= t("moderation.budget_investments.index.headers.budget_investment") %></th>
|
<th><%= t("moderation.budget_investments.index.headers.budget_investment") %></th>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<%= render Moderation::Shared::IndexComponent.new(@comments) do %>
|
<%= render Moderation::Shared::IndexComponent.new(@comments) do %>
|
||||||
<table class="clear">
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th><%= t("moderation.comments.index.headers.comment") %></th>
|
<th><%= t("moderation.comments.index.headers.comment") %></th>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<%= render Moderation::Shared::IndexComponent.new(@debates) do %>
|
<%= render Moderation::Shared::IndexComponent.new(@debates) do %>
|
||||||
<table class="clear">
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th><%= t("moderation.debates.index.headers.debate") %></th>
|
<th><%= t("moderation.debates.index.headers.debate") %></th>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<%= render Moderation::Shared::IndexComponent.new(@proposal_notifications) do %>
|
<%= render Moderation::Shared::IndexComponent.new(@proposal_notifications) do %>
|
||||||
<table class="clear">
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th><%= t("moderation.proposal_notifications.index.headers.proposal_notification") %></th>
|
<th><%= t("moderation.proposal_notifications.index.headers.proposal_notification") %></th>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<%= render Moderation::Shared::IndexComponent.new(@proposals) do %>
|
<%= render Moderation::Shared::IndexComponent.new(@proposals) do %>
|
||||||
<table class="clear">
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th><%= t("moderation.proposals.index.headers.proposal") %></th>
|
<th><%= t("moderation.proposals.index.headers.proposal") %></th>
|
||||||
|
|||||||
Reference in New Issue
Block a user