[MGNLUI-2820] Date field size is mis-calculated when the component width is set Created: 23/Apr/14  Updated: 30/Apr/14  Resolved: 23/Apr/14

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: None
Fix Version/s: 5.2.5, 5.3

Type: Bug Priority: Neutral
Reporter: Aleksandr Pchelintcev Assignee: Aleksandr Pchelintcev
Resolution: Fixed Votes: 0
Labels: ux
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled

 Description   

The date-field's underlying textbox has 'width:100%' rule in case the component has a defined width. In case of Vaadin Reindeer theme there's a rule:
.v-datefield-popupcalendar

{ padding-right: 30px; }

which ensures there's some space reserved for the date-picker icon from the right.
We extend the default theme and there's seem to be no such rule (at least I didn't find the place where we override it). The proposal is to get this rule in.


Generated at Mon Feb 12 09:00:29 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.