Skip to content

Code blocks layout on mobile #2

@joskuijpers

Description

@joskuijpers

Hey, nice work on the webgpu thing!

your code blocks are quite difficult to read on mobile. They are wrapping with dashes (creating invalid code) and doing some kind of justified layout with odd gaps that should not be there.
This is safari on ios.

Make sure code blocks have no-wrap and scroll horizontally automatic.
IMG_9781

on mobile the page is also not 100% width but 110% which adds site wide horizontal scrolling which js quite annoying.

i’d make a PR but it is midnight and am on mobile :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions