Skip to content

Commit

Permalink
fix(lib/cosmoz-omnitable-number-range-input): make title align to the…
Browse files Browse the repository at this point in the history
… right
  • Loading branch information
amandaavalencia committed Oct 23, 2024
1 parent db6c36b commit 5a4e437
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions lib/cosmoz-omnitable-number-range-input.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { _ } from '@neovici/cosmoz-i18next';
import { PolymerElement } from '@polymer/polymer';
import { html } from 'lit-html';
import { ifDefined } from 'lit-html/directives/if-defined.js';
import { html } from 'lit-html';
import { _ } from '@neovici/cosmoz-i18next';
import '@neovici/cosmoz-input';
import { rangeInputMixin } from './cosmoz-omnitable-range-input-mixin';
import { polymerHauntedRender } from './polymer-haunted-render-mixin';
Expand Down Expand Up @@ -42,6 +42,12 @@ class NumberRangeInput extends rangeInputMixin(
paper-dropdown-menu {
--iron-icon-width: 0;
display: block;
text-align: right;
}
.classen {
padding: 15px;
min-width: 100px;
text-align: left;
}
</style>
Expand All @@ -58,11 +64,7 @@ class NumberRangeInput extends rangeInputMixin(
?opened=${this.headerFocused}
@opened-changed=${onOpenedChanged}
>
<div
class="dropdown-content"
slot="dropdown-content"
style="padding: 15px; min-width: 100px;"
>
<div class="dropdown-content classen" slot="dropdown-content">
<h3 style="margin: 0;">${this.title}</h3>
<cosmoz-input
class=${this._fromClasses}
Expand Down

0 comments on commit 5a4e437

Please sign in to comment.