diff --git a/src/styles.scss b/src/styles.scss
index a3be3468b55309cb61596a4486e512a826a269af..d66de142c8f9bc1f2331774c86aa01f750b72a2e 100644
--- a/src/styles.scss
+++ b/src/styles.scss
@@ -203,13 +203,14 @@ field-set {
         @extend .bg-error;
     }
 
-    .ui-table.ui-widget {
+    .p-datatable.p-component.p-datatable-responsive-stack {
         table {
-            thead.ui-table-thead {
+            thead.p-datatable-thead {
                 > tr {
                     > th {
-                        font-size: .8em;
+                        font-size: .7em;
                         padding: 6px 8px;
+                        text-align: center;
                         &.selectable-cell {
                             cursor: pointer;
                         }
@@ -219,7 +220,7 @@ field-set {
                     }
                 }
             }
-            tbody.ui-table-tbody {
+            tbody.p-element.p-datatable-tbody {
                 > tr {
                     &.selected-row {
                         @extend .selected-row-bg;