mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-11-22 07:54:11 -05:00
Clean up the dashboard view table spacing on mobile
This commit is contained in:
parent
0c5cd33462
commit
315a4893ec
2 changed files with 55 additions and 43 deletions
12
resources/assets/sass/dashboard.scss
vendored
12
resources/assets/sass/dashboard.scss
vendored
|
@ -195,8 +195,17 @@ body {
|
|||
&, &:hover, &:focus { text-decoration: none; }
|
||||
}
|
||||
|
||||
.view-table-container {
|
||||
@media (max-width: $screen-xs-max) {
|
||||
padding: 10px 5px;
|
||||
}
|
||||
|
||||
.table {
|
||||
> thead > tr > th { border-bottom: 1px solid #666; }
|
||||
margin-bottom: 0px;
|
||||
|
||||
> thead > tr > th {
|
||||
border-bottom: 1px solid #666;
|
||||
}
|
||||
|
||||
@media (max-width: $screen-md-max) {
|
||||
tr {
|
||||
|
@ -226,6 +235,7 @@ body {
|
|||
.mobile-heading { display: none; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.list-group {
|
||||
margin-bottom: 0px;
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
@endsection
|
||||
|
||||
@section('dashboard-body')
|
||||
<div class="view-table-container">
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr class="heading-row">
|
||||
|
@ -26,4 +27,5 @@
|
|||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
@endsection
|
||||
|
|
Loading…
Reference in a new issue