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

DatePicker showTime style issue #5959

Closed
froston opened this issue Apr 28, 2017 · 1 comment
Closed

DatePicker showTime style issue #5959

froston opened this issue Apr 28, 2017 · 1 comment
Assignees
Labels
🐛 Bug Ant Design Team had proved that this is a bug.

Comments

@froston
Copy link

froston commented Apr 28, 2017

Version

2.9.3

Environment

All browsers.

Reproduction link

https://codepen.io/anon/pen/oWZGGP?editors=0110

Steps to reproduce

Open date input. Click on Select Time (选择时间).

What is expected?

Nice and clear layout in one row.

What is actually happening?

List of AM and PM options is positioned under the other lists.


Adding these styles to codepen example I get what I expect:

.ant-calendar-time-picker-select {
  width: 25% !important;
}
.ant-calendar-time-picker-select ul li {
  padding: 0 0 0 15px !important;
}
@paranoidjk paranoidjk added the 🐛 Bug Ant Design Team had proved that this is a bug. label Apr 28, 2017
@paranoidjk paranoidjk self-assigned this Apr 28, 2017
@afc163 afc163 assigned afc163 and unassigned paranoidjk May 2, 2017
afc163 added a commit that referenced this issue May 2, 2017
@benjycui benjycui closed this as completed May 2, 2017
benjycui pushed a commit that referenced this issue May 2, 2017
* Add popupClassName

* Fix showTime panel width bug, close #5959

* Add test case
@lock
Copy link

lock bot commented May 2, 2018

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked as resolved and limited conversation to collaborators May 2, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🐛 Bug Ant Design Team had proved that this is a bug.
Projects
None yet
Development

No branches or pull requests

4 participants