Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C cmucl.common-lisp.dev
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3
    • Issues 3
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • cmucl
  • cmucl.common-lisp.dev
  • Merge requests
  • !40

Merged
Created Apr 29, 2022 by Raymond Toy@rtoyOwner

Fix #40: FAQ is very wide on mobile

  • Overview 0
  • Commits 13
  • Pipelines 11
  • Changes 9

The wide page is caused by the long lines in the <pre> blocks. We fix this by changing all the <pre> blocks to have class "code", if they weren't already. Then adjust the CSS for the "code" class to add a horizontal scrollbar if needed.

We also had to set the width of the box to 70vw. This was experimentally determined to give a reasonably wide area for the code while not making the regular text wider than the screen.

Edited May 01, 2022 by Raymond Toy
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: rtoy-issue-40-fix-wide-pages