diff --git a/public/themes/nova-light/theme.css b/public/themes/nova-light/theme.css index 263794cc5..005c5c76e 100644 --- a/public/themes/nova-light/theme.css +++ b/public/themes/nova-light/theme.css @@ -1899,9 +1899,6 @@ body .p-card { box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.2), 0 1px 1px 0 rgba(0, 0, 0, 0.14), 0 2px 1px -1px rgba(0, 0, 0, 0.12); } -body { - /* Responsive Table */ -} body .p-paginator { background-color: #f4f4f4; border: 1px solid #c8c8c8; @@ -2199,39 +2196,6 @@ body .p-datatable.p-datatable-borderless .p-datatable-tfoot > tr > td { body .p-datatable.p-datatable-borderless .p-paginator { border: 0 none; } -body .p-datatable-responsive .p-datatable-tbody > tr > td .p-column-title { - display: none; -} -@media screen and (max-width: 40em) { - body .p-datatable.p-datatable-responsive .p-datatable-thead > tr > th, -body .p-datatable.p-datatable-responsive .p-datatable-tfoot > tr > td { - display: none !important; - } - body .p-datatable.p-datatable-responsive .p-datatable-tbody > tr > td { - text-align: left; - display: block; - border: 0 none !important; - width: 100% !important; - float: left; - clear: left; - } - body .p-datatable.p-datatable-responsive .p-datatable-tbody > tr > td .p-column-title { - padding: 0.4em; - min-width: 30%; - display: inline-block; - margin: -0.4em 1em -0.4em -0.4em; - font-weight: bold; - } - body .p-datatable.p-datatable-responsive .p-paginator-top { - border-bottom: 1px solid #c8c8c8; - } - body .p-datatable.p-datatable-responsive .p-paginator-bottom { - border-top: 1px solid #c8c8c8; - } - body .p-datatable.p-datatable-responsive .p-datatable-tbody > tr > td { - border: 0 none; - } -} body .p-datascroller .p-datascroller-header { background-color: #f4f4f4; color: #333333; diff --git a/src/views/datatable/DataTableResponsiveDemo.vue b/src/views/datatable/DataTableResponsiveDemo.vue index ffa59bbae..a334c4592 100644 --- a/src/views/datatable/DataTableResponsiveDemo.vue +++ b/src/views/datatable/DataTableResponsiveDemo.vue @@ -5,12 +5,12 @@
DataTable display can be optimized according for different screen sizes, this example demonstrates a demo where columns are stacked on small screens.
+DataTable display can be optimized according for different screen sizes, this example demonstrates a demo where columns are stacked on a small screens.