Skip to content

Commit

Permalink
Improve input style
Browse files Browse the repository at this point in the history
  • Loading branch information
eliandoran committed Jul 7, 2024
1 parent edaed67 commit c644af0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
6 changes: 1 addition & 5 deletions src/routes/base-converter/single-base.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,8 @@

<style>
input {
padding: 0.5em;
border-radius: 6px;
width: 100%;
box-sizing: border-box;
font-family: var(--font-monospace);
font-size: 1.25em;
border-radius: 6px;
font-size: 1.25em;
}
</style>
4 changes: 1 addition & 3 deletions src/routes/text-lorem-ipsum/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,8 @@
}
input[type="number"] {
width: 3em;
width: 5em;
text-align: center;
border-radius: 6px;
padding: 3px 6px;
}
.type-selector {
Expand Down
7 changes: 7 additions & 0 deletions static/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,13 @@ input[type="color"] {
border: 1px solid var(--border-color);
}

input[type="text"],
input[type="number"],
input[type="date"] {
border-radius: 6px;
padding: 0.5em;
}

.nav ul {
list-style-type: none;
margin: 0;
Expand Down

0 comments on commit c644af0

Please sign in to comment.