Skip to content

Commit

Permalink
apply styling to select boxes to make them consistent with other inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-nowak committed Sep 30, 2024
1 parent 18f06a1 commit 217c071
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion kahuna/public/js/leases/leases.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
ng-show="!ctrl.adding && ctrl.editing"
ng-submit="ctrl.save()">

<select ng-model="ctrl.access" ng-required="required">
<select ng-model="ctrl.access" ng-required="required" class="text-input">
<option ng-selected="true" value="">Please select access</option>
<optgroup label="Cropping">
<option value="allow-use">Allow cropping</option>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<label>
<select
data-cy="it-metadatatemplate-select"
class="full-width"
class="full-width text-input"
ng-model="ctrl.metadataTemplate"
ng-required="required"
ng-change="ctrl.selectTemplate()"
Expand Down
1 change: 1 addition & 0 deletions kahuna/public/js/upload/jobs/required-metadata-editor.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<div class="job-info--editor__label job-info--editor__multiline text-small">Image type</div>
<select
name="imageType"
class="text-input"
ng-model="ctrl.metadata.imageType"
ng-model-options="{updateOn: 'default blur', debounce: { default: ctrl.saveOnTime, blur: 0 }}"
ng-change="ctrl.save()"
Expand Down
6 changes: 3 additions & 3 deletions kahuna/public/js/usage-rights/usage-rights-editor.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
model, even though they don't exist in the form -->
<select
data-cy="it-rights-select"
class="full-width"
class="full-width text-input"
ng-model="ctrl.category"
ng-disabled="ctrl.saving || ctrl.usageRightsUpdatedByTemplate"
ng-options="category as category.name for category in ctrl.categories track by category.value"
Expand Down Expand Up @@ -154,7 +154,7 @@
</div>

<select
class="full-width"
class="full-width text-input"
id="ure-field-{{::fieldUniqueId}}"
name="{{ property.name }}"
ng-switch-when="true"
Expand All @@ -169,7 +169,7 @@
ng-init="otherValue = ctrl.isOtherValue(property)">

<select
class="full-width"
class="full-width text-input"
id="ure-field-{{::fieldUniqueId}}"
name="{{ property.name }}"
ng-model="ctrl.model[property.name]"
Expand Down

0 comments on commit 217c071

Please sign in to comment.