Skip to content

remove text-indent for headings in mobile - #51

Open
paradite wants to merge 1 commit into
pages-themes:masterfrom
paradite:paradite-patch-mobile-indent
Open

remove text-indent for headings in mobile#51
paradite wants to merge 1 commit into
pages-themes:masterfrom
paradite:paradite-patch-mobile-indent

Conversation

@paradite

@paradite paradite commented Dec 19, 2021

Copy link
Copy Markdown

Problem

text-indent was introduced for compensating the blue ticks before the headings

They were not removed in mobile, whereas the blue ticks were removed

padding-right: 0;
margin-left: 0;
content: none;

This results in extra indentation in mobile.

Solution

This css change removes unnecessary text-indent in mobile.

Before / After

Using my own page because I am a bit lazy for reproducing this...

before after
Screenshot_20211219-144322_Chrome - Copy (2) Screenshot_20211219-144355_Chrome (2)

live website effect reference: https://retire35.com/

@welcome

welcome Bot commented Dec 19, 2021

Copy link
Copy Markdown

Welcome! Congrats on your first pull request to the Architect theme. If you haven't already, please be sure to check out the contributing guidelines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant