Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

apply styling to select inputs to make them consistent with other inputs #4339

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
Loading