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:
@@ -245,7 +245,9 @@ const SettingsLogs = () => {
|
|||||||
<p className="description">
|
<p className="description">
|
||||||
{intl.formatMessage(messages.logsDescription, {
|
{intl.formatMessage(messages.logsDescription, {
|
||||||
code: (msg: React.ReactNode) => (
|
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',
|
appDataPath: appData ? appData.appDataPath : '/app/config',
|
||||||
})}
|
})}
|
||||||
|
|||||||
Reference in New Issue
Block a user