Skip to content

Commit

Permalink
align text in text input compoment to the left
Browse files Browse the repository at this point in the history
  • Loading branch information
jparez committed Jan 16, 2025
1 parent 6c3ac6c commit 093a9d3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions src/scss/components/_battery.scss
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,9 @@
.gm-charge-input {
width: 39px;
margin-top: -30px;
input {
text-align: left;
}
}

.gm-charge-slider {
Expand Down
6 changes: 3 additions & 3 deletions src/scss/components/_textInput.scss
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
.text-input-container {
border-bottom: 2px solid var(--gm-input-text-color);
border-bottom: 1px solid var(--gm-input-text-color);
color: var(--gm-input-text-color);
display: flex;
align-items: center;
height: 34px;

&:has(.text-input:read-only) {
border-bottom: 2px solid transparent;
border-bottom: 1px solid transparent;
}

.text-input{
text-align: right;
text-align: left;
padding-left: 0;
padding-right: 0;
border: none;
Expand Down

0 comments on commit 093a9d3

Please sign in to comment.