From efce25590126d8093ce66b7541938d24a859f1d8 Mon Sep 17 00:00:00 2001 From: tauriedavis Date: Tue, 6 Jun 2017 16:27:50 -0700 Subject: [PATCH] 33308 Use pre-wrap for commit messages to keep lists indented --- app/assets/stylesheets/pages/commits.scss | 2 +- .../unreleased/33308-use-pre-wrap-for-commit-messages.yml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 changelogs/unreleased/33308-use-pre-wrap-for-commit-messages.yml diff --git a/app/assets/stylesheets/pages/commits.scss b/app/assets/stylesheets/pages/commits.scss index bb72f453d1b..9db0f2075cb 100644 --- a/app/assets/stylesheets/pages/commits.scss +++ b/app/assets/stylesheets/pages/commits.scss @@ -228,7 +228,7 @@ margin: 10px 0; background: $gray-light; display: none; - white-space: pre-line; + white-space: pre-wrap; word-break: normal; pre { diff --git a/changelogs/unreleased/33308-use-pre-wrap-for-commit-messages.yml b/changelogs/unreleased/33308-use-pre-wrap-for-commit-messages.yml new file mode 100644 index 00000000000..43e8f242947 --- /dev/null +++ b/changelogs/unreleased/33308-use-pre-wrap-for-commit-messages.yml @@ -0,0 +1,4 @@ +--- +title: Use pre-wrap for commit messages to keep lists indented +merge_request: +author: