Skip to content

Commit

Permalink
fix(datepicker): add fix for datepicker table (#2461)
Browse files Browse the repository at this point in the history
- Added background for label-success
- Added min-height for datepicker body table
- Removed spacing between cells
  • Loading branch information
EvilAlexei authored and valorkin committed Aug 18, 2017
1 parent 0c7d21c commit e0a6adf
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/datepicker/bs-datepicker.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
.label-success {
background-color: #419641;
}

.bs-datepicker {
display: inline-block;
vertical-align: top;
Expand Down Expand Up @@ -103,7 +107,7 @@
.bs-datepicker-body {
padding: 10px;
border-radius: 0 0 3px 3px;
height: 230px;
min-height: 230px;
border: 1px solid #eee;
}

Expand All @@ -115,6 +119,7 @@
.bs-datepicker-body table {
width: 100%;
border-collapse: separate;
border-spacing: 0;
}

.bs-datepicker-body table th {
Expand All @@ -128,6 +133,7 @@
color: #54708b;
text-align: center;
position: relative;
padding: 0;
}

.bs-datepicker-body table td span {
Expand Down

0 comments on commit e0a6adf

Please sign in to comment.