[Responsive] List of polls for admins with scrollbar

This commit is contained in:
Marjolaine Vé 2018-02-18 17:55:48 +01:00 committed by Thomas Citharel
parent b29bbb5c9a
commit efda4e97b0
3 changed files with 58 additions and 57 deletions

View File

@ -23,9 +23,3 @@
border-top: 0 none; border-top: 0 none;
content: ""; content: "";
} }
@media (max-width: 767px) {
#optionnal {
margin-top: 15px;
}
}

View File

@ -521,6 +521,12 @@ table.results > tbody > tr:hover > td .glyphicon {
#poll_search { #poll_search {
cursor: pointer; cursor: pointer;
} }
.table-of-polls {
overflow-x: scroll;
margin-bottom: 0;
border: 0;
box-shadow: none;
}
/* Studs */ /* Studs */
.password_request { .password_request {

View File

@ -64,7 +64,7 @@
<div class="panel-heading"> <div class="panel-heading">
{if $count == $total}{$count}{else}{$count} / {$total}{/if} {__('Admin', 'polls in the database at this time')} {if $count == $total}{$count}{else}{$count} / {$total}{/if} {__('Admin', 'polls in the database at this time')}
</div> </div>
<div class="table-of-polls panel">
<table class="table table-bordered table-polls"> <table class="table table-bordered table-polls">
<tr align="center"> <tr align="center">
<th scope="col"></th> <th scope="col"></th>
@ -117,6 +117,7 @@
</tr> </tr>
{/foreach} {/foreach}
</table> </table>
</div>
<div class="panel-heading"> <div class="panel-heading">
{__('Admin', 'Pages:')} {__('Admin', 'Pages:')}