X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fsass%2Fprimeng-custom.scss;h=7f65eded7f19a92822f8dd284107cc00133cc6c9;hb=0ef18e5b895c19bb3b7ba994fdc44f1a3694201c;hp=fb1d3f7bdb23cf37da56b6dcaddef9cc8f5c425e;hpb=a47ed5824641901a61f0748dd1ea3f2283e1e1c2;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/sass/primeng-custom.scss b/client/src/sass/primeng-custom.scss index fb1d3f7bd..7f65eded7 100644 --- a/client/src/sass/primeng-custom.scss +++ b/client/src/sass/primeng-custom.scss @@ -450,12 +450,16 @@ body p-autocomplete.ng-dirty.ng-invalid > .p-autocomplete > .p-inputtext { // --------------------------------------------------------------------------- p-table { + table { + table-layout: fixed; + } + .p-datatable-header { border: none !important; background-color: pvar(--mainBackgroundColor) !important; .caption { - height: 40px; + min-height: 40px; width: 100%; display: inline-flex; align-items: center; @@ -551,13 +555,6 @@ p-table { &.p-sortable-column:hover { background-color: pvar(--submenuBackgroundColor) !important; - border: 1px solid !important; - border-color: pvar(--submenuBackgroundColor) !important; - border-width: 0 1px !important; - - &:first-child { - border-width: 0 1px 0 0 !important; - } } &.p-highlight { @@ -634,6 +631,11 @@ p-table { right: 0; color: pvar(--inputPlaceholderColor); overflow: visible; + + @media screen and (max-width: $small-view) { + left: 0; + top: 40px; + } } .p-paginator-first,