elk-zone / elk

A nimble Mastodon web client
https://elk.zone
MIT License
5.52k stars 567 forks source link

feat: add new setting to select line height options #3034

Open shuuji3 opened 3 weeks ago

shuuji3 commented 3 weeks ago

resolve #3007

This PR implements a new setting to select line height in the post body. Users can choose the narrower (1.2) or wider (1.5) line height options, in addition to the current normal option (4/3)

Screenshots

Setting section for line height

Screenshot of Setting section for line height

Narrow (1.2)

Screenshot of the post with narrow line height

Normal (4/3 = 1.33...): current and default value

Screenshot of the post with normal line height

Wide (1.5)

Screenshot  of the post with wide line height

netlify[bot] commented 3 weeks ago

Deploy Preview for elk-docs failed.

Name Link
Latest commit b24b53c20c25000bfbc59d51d37da8cc78c17132
Latest deploy log https://app.netlify.com/sites/elk-docs/deploys/67248c38ec14a900084f7afc
netlify[bot] commented 3 weeks ago

Deploy Preview for elk-zone ready!

Name Link
Latest commit b24b53c20c25000bfbc59d51d37da8cc78c17132
Latest deploy log https://app.netlify.com/sites/elk-zone/deploys/67248c3879b783000826ee37
Deploy Preview https://deploy-preview-3034--elk-zone.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

socket-security[bot] commented 3 weeks ago

New and removed dependencies detected. Learn more about Socket for GitHub โ†—๏ธŽ

Package New capabilities Transitives Size Publisher
npm/@iconify/json@2.2.266 None +1 366 MB cyberalien

๐Ÿšฎ Removed packages: npm/@iconify/json@2.2.170, npm/@iconify/utils@2.1.32

View full reportโ†—๏ธŽ