corrected layout on profiles and rules pages
This commit is contained in:
@@ -517,9 +517,9 @@ export const RulesEditorViewer = (props: Props) => {
|
||||
|
||||
return (
|
||||
<Dialog open={open} onOpenChange={onClose}>
|
||||
<DialogContent className="max-w-4xl h-[80vh] flex flex-col">
|
||||
<DialogContent className="min-w-5xl h-[80vh] flex flex-col">
|
||||
<DialogHeader>
|
||||
<div className="flex justify-between items-center">
|
||||
<div className="flex justify-between items-center pr-8">
|
||||
<DialogTitle>{t("Edit Rules")}</DialogTitle>
|
||||
<Button
|
||||
variant="outline"
|
||||
@@ -534,7 +534,7 @@ export const RulesEditorViewer = (props: Props) => {
|
||||
<div className="flex-1 min-h-0 mt-4">
|
||||
{visualization ? (
|
||||
<div className="h-full flex gap-4">
|
||||
<div className="w-1/2 flex flex-col gap-4 p-1">
|
||||
<div className="w-1/3 flex flex-col gap-4 p-1">
|
||||
<div className="space-y-2">
|
||||
<Label>{t("Rule Type")}</Label>
|
||||
<Combobox
|
||||
@@ -622,7 +622,7 @@ export const RulesEditorViewer = (props: Props) => {
|
||||
</div>
|
||||
</div>
|
||||
<Separator orientation="vertical" />
|
||||
<div className="w-1/2 flex flex-col">
|
||||
<div className="w-2/3 flex flex-col">
|
||||
<BaseSearchBox
|
||||
onSearch={(matcher) => setMatch(() => matcher)}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user