@@ -124,7 +124,8 @@ export default function SynapxisDocs() {
124124 < div className = "space-y-6" >
125125 < div >
126126 < p className = "mb-3" > Run the following to check if you have the necessary tools:</ p >
127- < pre className = "bg-slate-950 p-4 rounded-lg font-mono text-sm overflow-x-auto border border-slate-800" >
127+ { /* Added max-w constraints for mobile safety */ }
128+ < pre className = "bg-slate-950 p-4 rounded-lg font-mono text-sm overflow-x-auto border border-slate-800 max-w-[85vw] md:max-w-none" >
128129 < code className = "text-slate-300" >
129130{ `# Check Python (Must be 3.8+)
130131python3 --version
@@ -170,7 +171,8 @@ git --version`}
170171 Option A: Automatic < span className = "text-xs bg-green-500/10 text-green-400 px-2 py-0.5 rounded border border-green-500/20" > Recommended</ span >
171172 </ h3 >
172173 < p className = "mb-4 text-slate-400" > Creates a sandboxed environment (.venv), compiles the Rust engine, and sets up aliases.</ p >
173- < pre className = "bg-slate-950 p-4 rounded-lg font-mono text-sm overflow-x-auto border border-slate-800 shadow-lg shadow-green-900/10" >
174+ { /* Added max-w constraints for mobile safety */ }
175+ < pre className = "bg-slate-950 p-4 rounded-lg font-mono text-sm overflow-x-auto border border-slate-800 shadow-lg shadow-green-900/10 max-w-[85vw] md:max-w-none" >
174176 < code className = "text-green-300" >
175177 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/CodeFXR/Synapxis/refs/heads/Synapxis/install.sh)"
176178 </ code >
@@ -185,7 +187,8 @@ git --version`}
185187 { /* Manual */ }
186188 < div >
187189 < h3 className = "text-xl font-semibold text-white mb-4" > Option B: Manual</ h3 >
188- < pre className = "bg-slate-950 p-4 rounded-lg font-mono text-sm overflow-x-auto border border-slate-800 leading-relaxed" >
190+ { /* Added max-w constraints for mobile safety */ }
191+ < pre className = "bg-slate-950 p-4 rounded-lg font-mono text-sm overflow-x-auto border border-slate-800 leading-relaxed max-w-[85vw] md:max-w-none" >
189192 < code className = "text-slate-300" >
190193{ `git clone https://github.com/CodeFXR/Synapxis.git
191194cd Synapxis
@@ -222,7 +225,8 @@ python synapxis.py`}
222225 < div className = "ml-8 text-sm text-slate-400" >
223226 < p className = "mb-2" > < strong > Cause:</ strong > The < code > synapxis_rs</ code > binary was not compiled found.</ p >
224227 < p className = "mb-2" > < strong > Solution:</ strong > Install Rust and re-run the installer.</ p >
225- < code className = "block bg-black/30 p-2 rounded font-mono text-xs" > curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh</ code >
228+ { /* Added break-all to ensure URL wraps if needed */ }
229+ < code className = "block bg-black/30 p-2 rounded font-mono text-xs break-all" > curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh</ code >
226230 </ div >
227231 </ div >
228232
0 commit comments