Reputation: 1834
I work with RTLbootstrap
. Now I add Timeticker plugin in my form. But Timeticker dropdown not show in right of input and normal width.
Problem Pic:
I need to like this:
How do Fix This?
DEMO HERE
Upvotes: 1
Views: 2972
Reputation: 1
.bootstrap-datetimepicker-widget {
list-style: none;
direction:ltr !important;
}
.bootstrap-datetimepicker-widget.dropdown-menu {
display: block;
margin: 2px 0;
padding: 4px;
width: 17em;
direction:ltr !important;
}
Upvotes: 0
Reputation: 101
Added to my css
.datetime-picker-dropdown { direction: initial !important; }
Upvotes: 0
Reputation: 51
this worked 100%
change style from bootstrap-timepicker.min.css or bootstrap-timepicker.css fllowing this rule on css;
bootstrap-timepicker-widget.dropdown-menu{ padding: 4px}
change to :
bootstrap-timepicker-widget.dropdown-menu{ padding: 4px;direction: ltr;right: auto}
Upvotes: 5
Reputation: 1052
change style on the following rule,
.dropdown-menu{
right: auto;
}
to as shown below.
.dropdown-menu{
right:0;
}
and it'll be ok.
Upvotes: 1