테이블의 td 요소로 각 스트랩의 bs-datepicker를 가지고 있지만 datepicker가 테이블의 스타일을 상속합니다 (그대로 유지하고 싶습니다) . 그것은 datepicker의 모양을 던지고있다.테이블에 중첩 된 bs-datepicker의 스타일을 정규화하는 방법
This is a photo of the broken datepicker
나는 추가 시도 :하지 (.datepicker를) CSS의 모든 요소하지만이 작동하지 않았다.
간체 HTML :
<table class="jobs-table" >
<th>datepicker</th>
<tr>
<td>
<i class="ion-calendar date-icon"></i>
<input type="text"
name="servicedate"
class="form-control date-picker-class"
ng-model=""
bs-datepicker
/>
</td >
</tr >
</table>
CSS의 다음 날짜 선택기가 실제로 CSS에서보다 구체적인되는 테이블로 구현 된 경우
table {
width: 100%;
}
.jobs-tables tr:first-child {
border-bottom: 5px solid black;
border-top: none;
background-color: #fff;
color: #555;
line-height: 250%;
text-align: left;
}
.jobs-table tr {
border-top: 2px solid black;
line-height: 250%;
}
.tables-table td {
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
max-width: 207px;
padding-left: 10px;
}
.tables-table th {
white-space: nowrap;
overflow: hidden;
padding-left: 10px;
}
작동 코드를 입력하십시오. –