Skip to content

Commit

Permalink
Merge pull request #3513 from wowsims/rotation-tab-updates
Browse files Browse the repository at this point in the history
Tweak APL text boxes
  • Loading branch information
kayla-glick authored Aug 21, 2023
2 parents c53b387 + 75578d6 commit 3a5a610
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
1 change: 1 addition & 0 deletions ui/core/components/string_picker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ export class AdaptiveStringPicker<ModObject> extends Input<ModObject, string> {

this.inputElem = document.createElement('input');
this.inputElem.type = 'text';
this.inputElem.classList.add('form-control')
this.rootElem.appendChild(this.inputElem);

this.init();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,15 @@
margin-right: map-get($spacers, 2);
}

.form-label {
font-size: $btn-font-size;
line-height: map-get($spacers, 4);
}

.form-control {
padding: calc($input-padding-y / 2) calc($input-padding-x / 2);
}

.number-picker-input {
width: 100% !important;
}
Expand All @@ -86,11 +95,6 @@
margin-bottom: map-get($spacers, 3) !important;
}

.form-label {
font-size: 1rem;
line-height: map-get($spacers, 4);
}

.input-root {
margin: 0;
width: auto;
Expand Down

0 comments on commit 3a5a610

Please sign in to comment.