Dot-menu css; add help menu; make 'a' always open audit on recordView

This commit is contained in:
2023-07-06 12:05:18 -05:00
parent 6b44742cb5
commit a42cabd903
3 changed files with 107 additions and 33 deletions

View File

@ -190,7 +190,7 @@ function RecordView({table, launchProcess}: Props): JSX.Element
{
document.removeEventListener("keydown", down)
}
}, [dotMenuOpen, showEditChildForm, showAudit])
}, [dotMenuOpen, showEditChildForm, showAudit, metaData])
const gotoCreate = () =>
{

View File

@ -3,6 +3,10 @@
*/
.raycast {
.MuiBox-root {
margin-bottom: 4px;
}
[cmdk-root] {
max-width: 1000px;
width: 650px;
@ -193,9 +197,10 @@
overflow: auto;
overscroll-behavior: contain;
scroll-padding-block-end: 40px;
scroll-padding-block-start: 80px;
transition: 100ms ease;
transition-property: height;
padding-bottom: 40px;
border-top: 1px solid var(--gray5)
}
[cmdk-raycast-open-trigger],
@ -269,28 +274,24 @@
}
[cmdk-separator] {
display: none;
height: 1px;
width: 100%;
background: var(--gray5);
margin: 4px 0;
}
*:not([hidden]) + [cmdk-group] {
margin-top: 8px;
}
[cmdk-group-heading] {
user-select: none;
font-size: 14px;
color: var(--gray11);
padding: 0 8px;
display: flex;
align-items: center;
position: sticky;
top: 0px;
padding-bottom: 7px;
padding: 7px 8px 7px;
border-bottom: var(--gray6) 1px solid;
background: white;
background: var(--gray1);
z-index: 1;
}