diff --git a/assets/javascripts/audit_log.js b/assets/javascripts/audit_log.js index 6713ab475d9..0231b886334 100644 --- a/assets/javascripts/audit_log.js +++ b/assets/javascripts/audit_log.js @@ -149,7 +149,7 @@ function showScheduledProductModalDialog(title, body) { } function renderScheduledProductSettings(settings) { - const table = $('').addClass('table table-striped'); + const table = $('
').addClass('table table-striped settings-table'); for (const [key, value] of Object.entries(settings || {})) { table.append( $('') diff --git a/assets/stylesheets/tables.scss b/assets/stylesheets/tables.scss index ecf110b9fba..b5e7694248b 100644 --- a/assets/stylesheets/tables.scss +++ b/assets/stylesheets/tables.scss @@ -63,7 +63,11 @@ text-align: center; } } - +table.settings-table tr { + td span { + white-space: pre; + } +} table.dataTable { td.name { text-align: left;