Add stack class to polls stats table
This class improve tables layout on mobile screen sizes.
This commit is contained in:
@@ -119,3 +119,6 @@ $tab-content-border: $border;
|
|||||||
$orbit-bullet-diameter: 0.8rem;
|
$orbit-bullet-diameter: 0.8rem;
|
||||||
|
|
||||||
$pagination-radius: $global-radius;
|
$pagination-radius: $global-radius;
|
||||||
|
|
||||||
|
$show-header-for-stacked: true;
|
||||||
|
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
<div class="small-12 medium-9 column" data-equalizer-watch>
|
<div class="small-12 medium-9 column" data-equalizer-watch>
|
||||||
<%= render "shared/stats/participation", stats: @stats %>
|
<%= render "shared/stats/participation", stats: @stats %>
|
||||||
|
|
||||||
<table>
|
<table class="stack">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="col"><%= t("polls.show.stats.votes") %></th>
|
<th scope="col"><%= t("polls.show.stats.votes") %></th>
|
||||||
|
|||||||
Reference in New Issue
Block a user