mirror of
https://github.com/Kingsrook/qqq-frontend-material-dashboard.git
synced 2025-07-18 13:20:43 +00:00
Dot-menu css; add help menu; make 'a' always open audit on recordView
This commit is contained in:
@ -190,7 +190,7 @@ function RecordView({table, launchProcess}: Props): JSX.Element
|
||||
{
|
||||
document.removeEventListener("keydown", down)
|
||||
}
|
||||
}, [dotMenuOpen, showEditChildForm, showAudit])
|
||||
}, [dotMenuOpen, showEditChildForm, showAudit, metaData])
|
||||
|
||||
const gotoCreate = () =>
|
||||
{
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user