bootstrap-datepicker

上官霄
2023-12-01

遇到的问题    插件展示有影响   想将其 展示上面

用的插件

angular-bootstrap-datetimepicker

 


lincoln

https://github.com/angular-ui/bootstrap/issues/1012

Ugly hack:

<div class="hackyhack">
  <input datepicker-popup="...">
</div>

Magic CSS:

.hackyhack {
  position: relative;
}
.hackyhack .dropdown-menu {
   left: auto !important;
   right: 0px;
 }

 类似资料: