fix(requests): do not fail request edits if acting user lacks Manage Users permission (#2338)

* fix(api): fix requestedBy logic in request edits

* fix(frontend): do not display empty advanced request options box

* fix(frontend): set max height on modal backdrop
This commit is contained in:
TheCatLady
2021-12-10 05:14:14 -05:00
committed by GitHub
parent dc7f959cb4
commit 91bfff71b7
3 changed files with 16 additions and 5 deletions

View File

@@ -111,7 +111,7 @@ const Modal: React.FC<ModalProps> = ({
}}
>
{backdrop && (
<div className="absolute top-0 left-0 right-0 z-0 w-full h-64">
<div className="absolute top-0 left-0 right-0 z-0 w-full h-64 max-h-full">
<CachedImage
alt=""
src={backdrop}