Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix code wrap for unbroken lines (#23268) #23293

Merged
merged 3 commits into from
Mar 4, 2023

Commits on Mar 4, 2023

  1. Fix code wrap for unbroken lines (go-gitea#23268)

    ## The Problem
    
    `overflow-wrap: break-word` doesn't work well for unbroken lines. Use
    `overflow-wrap: anywhere` instead, and remove legacy alias `word-wrap`
    
    ## Before
    
    
    ![image](https://user-images.githubusercontent.com/2114189/222743939-5f38d9e4-18d8-4ae0-8078-4b3a59195a30.png)
    
    ## After
    
    
    ![image](https://user-images.githubusercontent.com/2114189/222743833-0e0cfdbb-7b2e-420d-99f9-b1b45dde521a.png)
    
    ---------
    
    Co-authored-by: silverwind <me@silverwind.io>
    2 people authored and GiteaBot committed Mar 4, 2023
    Configuration menu
    Copy the full SHA
    bf6b10d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fbc00a8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    03eddd3 View commit details
    Browse the repository at this point in the history