Skip to content

Commit c005149

Browse files
author
Muammer Top
authored
Merge pull request #12 from openclassify/mostafa
table on mobile responsive fixed
2 parents 5165745 + e695790 commit c005149

File tree

3 files changed

+75
-3
lines changed

3 files changed

+75
-3
lines changed

resources/css/theme.css

Lines changed: 73 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -651,7 +651,8 @@ select + .select2 {
651651
text-align: right !important;
652652
margin: 5px 15px;
653653
}
654-
.topbar-useraction img {
654+
655+
.user-action-dropdown {
655656
display: none;
656657
}
657658
.floatright {
@@ -662,6 +663,77 @@ select + .select2 {
662663
}
663664
}
664665
@media (max-width: 767px) {
666+
.logo-bar {
667+
width: 100%;
668+
height: 50px;
669+
position: fixed;
670+
top: 0;
671+
left: 0;
672+
z-index: +999;
673+
}
674+
.logo-bar-table {
675+
display: table;
676+
width: 100%;
677+
height: 50px;
678+
background: #273759;
679+
}
680+
.logo {
681+
text-align: right !important;
682+
margin: 5px 15px;
683+
}
684+
.topbar-useraction img {
685+
height:45px;
686+
width: 45px;
687+
padding: 5px;
688+
}
689+
.dont-collapse-sm {
690+
margin-top: 10px !important;
691+
}
692+
tfoot {
693+
display: block;
694+
}
695+
tfoot button, tfoot a, tfoot span {
696+
margin-top: 5px !important;
697+
margin-bottom: 5px !important;
698+
}
699+
tfoot tr th {
700+
text-align: center;
701+
padding-bottom: 0;
702+
}
703+
.table tfoot .pagination {
704+
margin: 0 !important;
705+
}
706+
.table tfoot .pull-left, .table tfoot .pull-right {
707+
float: none;
708+
}
709+
.pagination-sm {
710+
margin-left: 0;
711+
margin-right: 0;
712+
}
713+
.table tfoot td {
714+
padding-left: 0 !important;
715+
text-align: center !important;
716+
padding-top: 5px !important;
717+
}
718+
.table nobr a {
719+
display: block;
720+
margin-top: 5px;
721+
}
722+
.table-stack td {
723+
padding-top: 30px !important;
724+
padding-left: 10px !important;
725+
padding-right: 10px !important;
726+
text-align: right !important;
727+
}
728+
.user-action-dropdown {
729+
display: none;
730+
}
731+
.floatright {
732+
margin-right: 0 !important;
733+
}
734+
.topbar-breadcrumb {
735+
padding: 0px 0 !important;
736+
}
665737
#sidebar.open, #sidebar.hover:hover {
666738
width: 50% !important;
667739
}

resources/views/partials/topbar.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
<button class="btn user-action-dropdown dropdown-toggle none-border">
2222
{{ name|raw }}
2323
</button>
24+
<img src="{{ user().gravatar.path }}" width="47" class="rounded-circle">
2425
</a>
25-
<img src="{{ user().gravatar.path }}" width="47" class="rounded-circle">
2626
<ul class="dropdown-menu-right dropdown-menu">
2727
<li class="dropdown-item">
2828
<a href="/" target="_blank">

resources/views/table/partials/filters.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
{{ icon(table.options.filters.filter_icon ?: 'filter') }}
99
{{ trans(table.options.filters.filter_text ?: 'streams::button.filter') }}
1010
</div>
11-
<div id="t10">
11+
<div class="collapse" id="t10">
1212
<div class="container-fluid">
1313
<div class="row">
1414
{% for filter in table.filters %}

0 commit comments

Comments
 (0)