Skip to content

Commit

Permalink
Merge pull request #6223 from getkirby/fix/6203-row-issues
Browse files Browse the repository at this point in the history
Improve mobile styles
  • Loading branch information
bastianallgeier authored Jan 30, 2024
2 parents 0c830df + 5c3a130 commit 70fcc10
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions panel/src/components/Layout/Table.vue
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,18 @@ export default {
.k-table thead th {
position: static;
}
/** Make sure that the option toggle does not create huge row heights **/
.k-table .k-options-dropdown-toggle {
aspect-ratio: auto !important;
}
/** Reset any custom column widths **/
.k-table
:where(th, td):not(.k-table-index-column):not(.k-table-options-column) {
width: auto !important;
}
.k-table :where(th, td):not([data-mobile="true"]) {
display: none;
}
Expand Down

0 comments on commit 70fcc10

Please sign in to comment.