-
Notifications
You must be signed in to change notification settings - Fork 273
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ui5-input/ui5-multi-input/ui5-combobox/ui5-multi-combobox): min-w…
…idth and margin (#6044) * fix(ui5-input/ui5-multi-input/ui5-combobox/ui5-multi-combobox): min-width and margin specs * fix(ui5-input/ui5-multi-input/ui5-combobox/ui5-multi-combobox): code review fix * feat(ui5-inputs): adjust min-width to input controls * feat(ui5-inputs): fix linter * feat(ui5-inputs): fix linter * feat(ui5-inputs): fix prettier * feat(ui5-inputs): fix prettier issues * feat(ui5-inputs): revert old configs * fix(ui5-input/ui5-multi-input/ui5-combobox/ui5-multi-combobox): min-width and margin * fix(ui5-input/ui5-multi-input/ui5-combobox/ui5-multi-combobox): min-width and margin * fix(ui5-input/ui5-multi-input/ui5-combobox/ui5-multi-combobox): min-width and margin * fix(ui5-input/ui5-multi-input/ui5-combobox/ui5-multi-combobox): min-width and margin * fix(ui5-inputs): code review changes * fix(ui5-inputs): code review changes * fix(ui5-inputs): fix tests * fix(ui5-inputs): fix tests * fix(ui5-input/ui5-multi-input/ui5-combobox/ui5-multi-combobox): min-width and margin * fix(ui5-input/ui5-multi-input/ui5-combobox/ui5-multi-combobox): min-width and margin * feat(ui5-inputs): adjust min-width to input controls * feat(ui5-inputs): adjust min-width to input controls * feat(ui5-inputs): adjust min-width to input controls * feat(ui5-inputs): adjust min-width to input controls * feat(ui5-inputs): adjust min-width to input controls * fix(ui5-input/ui5-multi-input/ui5-combobox/ui5-multi-combobox): pr comments fixes --------- Co-authored-by: Dimitar Dimitrov <dimitar.dimitrov11@sap.com>
- Loading branch information
1 parent
08cd361
commit ba805c6
Showing
22 changed files
with
251 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,37 @@ | ||
@import "./InputIcon.css"; | ||
|
||
:host { | ||
min-width: calc(var(--_ui5_input_min_width) + (var(--_ui5-input-icons-count)*var(--_ui5_input_icon_width))); | ||
} | ||
|
||
:host([tokenizer-available]) { | ||
min-width: calc(var(--_ui5_input_min_width) + (var(--_ui5-input-icons-count)*var(--_ui5_input_icon_width)) + var(--_ui5_input_tokenizer_min_width)); | ||
} | ||
|
||
.ui5-multi-input-tokenizer { | ||
max-width: calc(100% - 3rem - var(--_ui5_input_icon_min_width)); | ||
min-width: var(--_ui5_input_tokenizer_min_width); | ||
max-width: calc(100% - 3rem - var(--_ui5-input-icons-count) * var(--_ui5_input_icon_min_width)); | ||
border: none; | ||
width: auto; | ||
min-width: 0px; | ||
height: 100%; | ||
} | ||
} | ||
|
||
:host([readonly]) .ui5-multi-input-tokenizer::part(n-more-text) { | ||
color: var(--sapLinkColor); | ||
} | ||
|
||
.ui5-multi-input-tokenizer::part(n-more-text) { | ||
padding-inline-end: 0.3125rem; | ||
} | ||
|
||
[inner-input][inner-input-with-icon] { | ||
padding: var(--_ui5_input_inner_padding_with_icon); | ||
} | ||
|
||
:host([tokenizer-available]) [inner-input] { | ||
padding-inline-start: var(--_ui5_input_inner_space_to_tokenizer); | ||
} | ||
|
||
:host(:not([tokenizer-available])) .ui5-multi-input-tokenizer { | ||
display: none; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.