ui: fix modal z-index conflict in Experiments tab

This commit is contained in:
Christian Vidal Wolf
2026-02-21 11:19:43 +01:00
parent 8d05173b40
commit b1346183c9
2 changed files with 9 additions and 11 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ const ExperimentDetail: React.FC<ExperimentDetailProps> = ({ experimentId, onClo
if (!experimentId) return null;
return (
<div className="fixed inset-0 bg-black/60 backdrop-blur-sm z-50 flex items-center justify-center p-4">
<div className="fixed inset-0 bg-black/60 backdrop-blur-sm z-[100] flex items-center justify-center p-4">
<div className="bg-slate-900 border border-slate-700 rounded-2xl w-full max-w-5xl max-h-[90vh] overflow-hidden flex flex-col">
{/* Header */}
<div className="flex items-center justify-between p-6 border-b border-slate-700">
+3 -5
View File
@@ -95,7 +95,7 @@ const ExperimentForm: React.FC<ExperimentFormProps> = ({
const marketplaceOptions = ['DE', 'UK', 'FR', 'IT', 'ES'];
return (
<div className="fixed inset-0 bg-black/60 backdrop-blur-sm z-50 flex items-center justify-center p-4">
<div className="fixed inset-0 bg-black/60 backdrop-blur-sm z-[100] flex items-center justify-center p-4">
<div className="bg-slate-900 border border-slate-700 rounded-2xl w-full max-w-3xl max-h-[85vh] overflow-hidden flex flex-col">
{/* Header */}
<div className="flex items-center justify-between p-4 border-b border-slate-700">
@@ -173,8 +173,7 @@ const ExperimentForm: React.FC<ExperimentFormProps> = ({
setFormData({ ...formData, asins: [] });
setSelectedLine('');
}}
className={`flex-1 px-3 py-2 rounded-lg text-xs font-bold border transition-all ${
targetType === 'asin'
className={`flex-1 px-3 py-2 rounded-lg text-xs font-bold border transition-all ${targetType === 'asin'
? 'bg-indigo-600/20 border-indigo-500 text-indigo-400'
: 'bg-slate-800 border-slate-600 text-slate-400 hover:border-slate-500'
}`}
@@ -188,8 +187,7 @@ const ExperimentForm: React.FC<ExperimentFormProps> = ({
setFormData({ ...formData, asins: [] });
setAsinInput('');
}}
className={`flex-1 px-3 py-2 rounded-lg text-xs font-bold border transition-all ${
targetType === 'line'
className={`flex-1 px-3 py-2 rounded-lg text-xs font-bold border transition-all ${targetType === 'line'
? 'bg-indigo-600/20 border-indigo-500 text-indigo-400'
: 'bg-slate-800 border-slate-600 text-slate-400 hover:border-slate-500'
}`}