Comments (2)
Added text-align: justify
. It's okay but not great. I will leave this issue open to maybe implement a proper LaTeX style hyphenation. I think it might require some libraries though.
from jonrh.is.
Noticed by chance while reading Cramming 'Papers, Please' Onto Phones that the site was using hyphenations:
.content p {
hyphens: auto;
-moz-hyphens: auto;
-ms-hyphens: auto;
-webkit-hyphens: auto;
}
According to caniuse.com hyphens
have 97% support with vendor prefixes and 78% unprefixed. For hyphens to work the HTML lang
attribute must be specified which it already is. Support is lackluster for many languages but since this website is only in English it should work. Worth trying out at least.
from jonrh.is.
Related Issues (20)
- Add a favicon HOT 1
- Get rid of React Warning messages HOT 3
- Fix Bio component, div inside of p
- Implement a continuous delivery / auto deployment HOT 1
- Figure out how to properly write draft posts HOT 2
- Create a multi-year GitHub & GitLab contribution visualisation
- Create and add proper high-res favicons HOT 1
- Template children prop type warning HOT 1
- Figure out the problem with Service Workers HOT 1
- Bootstrap call error HOT 1
- Set up error reporting HOT 1
- Research testing
- Language Translations HOT 1
- Figure out CircleCI caching to speed builds HOT 1
- robots.txt breaks the master branch deployment HOT 2
- Upgrade to latest dependencies HOT 2
- robots.txt is missing on jonrh.is HOT 1
- Stop using GatsbyJS HOT 2
- Add <meta> description tags for blog posts HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jonrh.is.