diff --git a/index.php b/index.php index 736d9dc..eed9188 100644 --- a/index.php +++ b/index.php @@ -74,14 +74,16 @@ margin-bottom: 20px; font-size: 18px; color: #333; - word-wrap: break-word; - text-align: left; background-color: #f9f9f9; padding: 15px; border-radius: 5px; max-height: 300px; overflow-y: auto; } + .result p { + text-align: center; /* 每行内容居中显示 */ + margin: 5px 0; + } #commandInput { width: 200px; padding: 10px; @@ -162,9 +164,11 @@ function copyToClipboard() { -