style(logs): apply break-words for appDataPath (#1247)

This should make sure that the ui doesnt break for users who has long appDataPaths
This commit is contained in:
Fallenbagel
2025-01-12 09:57:00 +08:00
committed by GitHub
parent 50db3ea27b
commit 0f14cd9247

View File

@@ -245,7 +245,9 @@ const SettingsLogs = () => {
<p className="description">
{intl.formatMessage(messages.logsDescription, {
code: (msg: React.ReactNode) => (
<code className="bg-opacity-50">{msg}</code>
<code className="whitespace-normal break-words bg-opacity-50">
{msg}
</code>
),
appDataPath: appData ? appData.appDataPath : '/app/config',
})}