hackerweb-native-2 icon indicating copy to clipboard operation
hackerweb-native-2 copied to clipboard

Wrapping pre quotes for readability

Open mcint opened this issue 3 years ago • 2 comments

On recent discussion, https://hackerweb.app/#/item/33512338 contrast the readability of the native hackernews quote Screen Shot 2022-11-07 at 14 37 49

with the readability of the hackerweb quote. Screen Shot 2022-11-07 at 14 37 17

mcint avatar Nov 07 '22 23:11 mcint

If this change is correct, we should see pre-blocks Screen Shot 2022-11-07 at 14 58 21

Choice of style

pre-wrap maintains the pre-text and other whitespace to wrap where needed.

MDN has an example to play with, as does the post linked in this issue.

mcint avatar Nov 07 '22 23:11 mcint

Hey @mcint , you're probably confused 😄 The repo for hackerweb.app is here instead: https://github.com/cheeaun/hackerweb

This repo (hackerweb-native-2) is for the native iOS mobile app.

cheeaun avatar Nov 08 '22 11:11 cheeaun