diff --git a/frontend/src/components/forms/AutoSyncAdvanced.jsx b/frontend/src/components/forms/AutoSyncAdvanced.jsx
index abe101fd..1401bbc4 100644
--- a/frontend/src/components/forms/AutoSyncAdvanced.jsx
+++ b/frontend/src/components/forms/AutoSyncAdvanced.jsx
@@ -73,6 +73,7 @@ const RegexPreviewBox = ({ group, kind, regexPreviewState }) => {
borderRadius: 6,
padding: 8,
backgroundColor: '#1E1E22',
+ overflow: 'hidden',
}}
>
@@ -95,40 +96,48 @@ const RegexPreviewBox = ({ group, kind, regexPreviewState }) => {
: emptyText}
)}
- {result?.matches?.map((row, idx) =>
- kind === 'find' ? (
-
-
- {row.before}
-
-
- {' -> '}
-
-
- {row.after}
-
-
- ) : (
-
-
- {markerChar}
-
-
- {row.name}
-
-
- )
- )}
+
+ {result?.matches?.map((row, idx) =>
+ kind === 'find' ? (
+
+
+ {row.before}
+
+
+ {' -> '}
+
+
+ {row.after}
+
+
+ ) : (
+
+
+ {markerChar}
+
+
+ {row.name}
+
+
+ )
+ )}
+
);
};
@@ -329,7 +338,7 @@ const AutoSyncAdvanced = ({
w={280}
openDelay={500}
>
-
+
updateFilter(e.currentTarget.value)}
size="xs"
/>
- {filterValue && (
-
- )}
-
+
updateExclude(e.currentTarget.value)}
size="xs"
/>
- {excludeValue && (
-
- )}
+ {filterValue && (
+
+ )}
+ {excludeValue && (
+
+ )}