Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

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

Open
shuuji3 wants to merge3 commits intomain
base:main
Choose a base branch
Loading
fromshuuji3/feat/line-height

Conversation

shuuji3
Copy link
Member

@shuuji3shuuji3 commentedOct 31, 2024
edited
Loading

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

@netlifyNetlify
Copy link

netlifybot commentedOct 31, 2024
edited
Loading

Deploy Preview forelk-docs canceled.

NameLink
🔨 Latest commit66d13f7
🔍 Latest deploy loghttps://app.netlify.com/sites/elk-docs/deploys/67639f02701dd50008563969

@netlifyNetlify
Copy link

netlifybot commentedOct 31, 2024
edited
Loading

Deploy Preview forelk-zone ready!

NameLink
🔨 Latest commit66d13f7
🔍 Latest deploy loghttps://app.netlify.com/sites/elk-zone/deploys/67639f0277c3d30008c490a9
😎 Deploy Previewhttps://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 yourNetlify site configuration.

@shuuji3shuuji3force-pushed theshuuji3/feat/line-height branch from26b8f6b tob24b53cCompareNovember 1, 2024 08:07
@socket-securitySocket Security
Copy link

socket-securitybot commentedNov 1, 2024
edited
Loading

New and removed dependencies detected. Learn more aboutSocket for GitHub ↗︎

PackageNew capabilitiesTransitivesSizePublisher
npm/@iconify/json@2.2.266filesystem+1366 MBcyberalien

🚮 Removed packages:npm/@iconify/json@2.2.170,npm/@iconify/utils@2.1.32

View full report↗︎

@@ -125,8 +125,16 @@ em-emoji-picker {
}
}

.line-compact {
line-height: calc(4 / 3 * 1em);
Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Removed the unitem following the recommendation by MDN (https://developer.mozilla.org/en-US/docs/Web/CSS/line-height#values):

In most cases,this is the preferred way to set line-height and avoid unexpected results due to inheritance.

@shuuji3shuuji3 marked this pull request as ready for reviewNovember 1, 2024 09:42
@ayoaycoayoayco closed thisFeb 9, 2025
@ayoaycoayoayco deleted the shuuji3/feat/line-height branchFebruary 9, 2025 14:24
@shuuji3shuuji3 restored the shuuji3/feat/line-height branchFebruary 9, 2025 14:45
@shuuji3shuuji3 reopened thisFeb 9, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Make line height configurable
2 participants
@shuuji3@ayoayco

[8]ページ先頭

©2009-2025 Movatter.jp