diff options
author | Christian Cleberg <hello@cleberg.net> | 2023-05-24 20:13:30 -0500 |
---|---|---|
committer | Christian Cleberg <hello@cleberg.net> | 2023-05-24 20:13:30 -0500 |
commit | 725aeaabc6cc665e1e1f22a72a8a869541870e8d (patch) | |
tree | db6cd8810c56cc95f481885d209aeb678ac5dcff | |
parent | 7bb4b04dac6d099b3c1abec80db7e5c2e6a0c914 (diff) | |
download | ifconfig.php-725aeaabc6cc665e1e1f22a72a8a869541870e8d.tar.gz ifconfig.php-725aeaabc6cc665e1e1f22a72a8a869541870e8d.tar.bz2 ifconfig.php-725aeaabc6cc665e1e1f22a72a8a869541870e8d.zip |
fix overflowing lines
-rw-r--r-- | ifconfig.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ifconfig.php b/ifconfig.php index b70b72f..b477140 100644 --- a/ifconfig.php +++ b/ifconfig.php @@ -65,6 +65,7 @@ elseif (isset($query) && (($query=="text") || ($query=="all"))) { <title>{$site_title}</title> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"/> <style> + body { overflow-wrap: break-word; } pre { padding: 0.5rem; border: 1px solid black; } p,a { font-family: ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, 'DejaVu Sans Mono', monospace; } small, small > a { font-size: 9pt; } @@ -89,7 +90,7 @@ elseif (isset($query) && (($query=="text") || ($query=="all"))) { foreach($user as $key => $value) { echo ' <p id="'.$key.'">'.$key.': '.$value.'</p>'."\n"; } - + echo <<<EOD <pre><code># Curl Commands: curl -L -X GET https://ip.cleberg.net |