Skip to content

Commit

Permalink
Merge pull request #3382 from catfo435/3380-cell-ui-bug-fix
Browse files Browse the repository at this point in the history
Fix active cell displaying above row header cell
  • Loading branch information
seancolsen committed Feb 1, 2024
2 parents 9ad5c7c + 219c354 commit 6d73a93
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions mathesar_ui/src/components/sheet/Sheet.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -137,12 +137,12 @@
flex-direction: column;
isolation: isolate;
--z-index__sheet__column-resizer: 2;
--z-index__sheet__top-left-cell: 3;
--z-index__sheet_group-header: 3;
--z-index__sheet_new-record-message: 3;
--z-index__sheet__active-cell: 4;
--z-index__sheet__horizontal-scrollbar: 4;
--z-index__sheet__vertical-scrollbar: 5;
--z-index__sheet__active-cell: 3;
--z-index__sheet__row-header-cell: 4;
--z-index__sheet__group-header: 5;
--z-index__sheet__new-record-message: 6;
--z-index__sheet__horizontal-scrollbar: 7;
--z-index__sheet__vertical-scrollbar: 8;
--virtual-list-horizontal-scrollbar-z-index: var(
--z-index__sheet__horizontal-scrollbar
Expand Down Expand Up @@ -181,7 +181,7 @@
:global([data-sheet-element='cell'][data-cell-static='true']) {
position: sticky;
z-index: var(--z-index__sheet__top-left-cell);
z-index: var(--z-index__sheet__row-header-cell);
}
:global([data-sheet-element='cell'][data-cell-control='true']) {
Expand Down
2 changes: 1 addition & 1 deletion mathesar_ui/src/systems/table-view/row/GroupHeader.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
<style lang="scss">
.group-header {
padding: 0.5rem 1.5rem;
z-index: var(--z-index__sheet_group-header);
z-index: var(--z-index__sheet__group-header);
.groups-data {
align-items: start;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

<style lang="scss">
.new-record-message {
z-index: var(--z-index__sheet_new-record-message, auto);
z-index: var(--z-index__sheet__new-record-message, auto);
background: var(--sky-200);
display: flex;
align-items: center;
Expand Down

0 comments on commit 6d73a93

Please sign in to comment.