Fix focus on table header cell with sort

pull/6003/head
Chocobozzz 2023-10-10 10:56:25 +02:00
parent dc5564258f
commit 58036ff463
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
2 changed files with 7 additions and 1 deletions

View File

@ -41,7 +41,9 @@
</th> </th>
<th scope="col" style="width: 70px;"> <th scope="col" style="width: 70px;">
<div class="c-hand column-toggle" ngbDropdown placement="bottom-left auto" container="body" autoClose="outside"> <div class="c-hand column-toggle" ngbDropdown placement="bottom-left auto" container="body" autoClose="outside">
<my-global-icon iconName="columns" ngbDropdownToggle></my-global-icon> <button class="border-0 p-0" ngbDropdownToggle>
<my-global-icon iconName="columns"></my-global-icon>
</button>
<div role="menu" class="dropdown-menu" ngbDropdownMenu> <div role="menu" class="dropdown-menu" ngbDropdownMenu>
<div class="dropdown-header" i18n>Table parameters</div> <div class="dropdown-header" i18n>Table parameters</div>

View File

@ -576,6 +576,10 @@ p-table {
background-color: pvar(--submenuBackgroundColor) !important; background-color: pvar(--submenuBackgroundColor) !important;
} }
&.p-sortable-column.focus-visible {
border: 1px solid pvar(--mainForegroundColor) !important
}
&.p-highlight { &.p-highlight {
background-color: pvar(--submenuBackgroundColor) !important; background-color: pvar(--submenuBackgroundColor) !important;