Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • A administrate
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 96
    • Issues 96
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 32
    • Merge requests 32
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • thoughtbot, inc.
  • administrate
  • Merge requests
  • !213

Allow content marked up with the .preserve-whitespace CSS class to wrap

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge github/fork/murdoch/make-preserve-whitespace-wrap into master Nov 11, 2015
  • Overview 7
  • Commits 1
  • Pipelines 0
  • Changes 1

Created by: murdoch

The .preserve-whitespace CSS class contains white-space: pre; which prevents text from wrapping, causing a horizontal scroll-bar anytime a Field::Text attribute contains more content than can fit on one line. See the screenshot below:

image4214

This is fixed by using white-space: pre-wrap; as shown in the image below:

image4225

Just a small thing.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/murdoch/make-preserve-whitespace-wrap