Skip to content

Commit 09f7209

Browse files
committed
Twenty Twenty: Improve padding for number input type.
This changes improves lateral padding for `number` input types in Twenty Twenty bundled theme. Props helgatheviking, sabernhardt, chaion07, poena, justinahinon, ugyensupport, nayana123. Fixes #53115. git-svn-id: https://develop.svn.wordpress.org/trunk@53120 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 556d863 commit 09f7209

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

src/wp-content/themes/twentytwenty/style-rtl.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -791,6 +791,10 @@ textarea {
791791
width: 100%;
792792
}
793793

794+
input[type="number"] {
795+
padding-left: 0.5rem;
796+
}
797+
794798
select {
795799
font-size: 1em;
796800
}

src/wp-content/themes/twentytwenty/style.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -797,6 +797,10 @@ textarea {
797797
width: 100%;
798798
}
799799

800+
input[type="number"] {
801+
padding-right: 0.5rem;
802+
}
803+
800804
select {
801805
font-size: 1em;
802806
}

0 commit comments

Comments
 (0)