|
2 | 2 | <!-- secondary: last month, disabled: disabled --> |
3 | 3 | <thead class="text-center"> |
4 | 4 | <tr> |
5 | | - <th style="overflow: hidden; width: 26px"> |
| 5 | + <th style="overflow: hidden; min-width: 26px"> |
6 | 6 | <button type="button" class="btn btn-xs btn-link" ng-click="move(-1)"> |
7 | 7 | <span class="glyphicon glyphicon-chevron-left"> </span> |
8 | 8 | </button> |
9 | 9 | </th> |
10 | 10 | <th colspan="{{rows[0].length - 2 + showWeekNumbers}}"><button type="button" class="btn btn-md btn-link btn-block" ng-click="toggleMode()"><strong>{{title}}</strong></button></th></th> |
11 | | - <th style="overflow: hidden; width: 26px"> |
| 11 | + <th style="overflow: hidden; min-width: 26px"> |
12 | 12 | <button type="button" class="btn btn-xs btn-link" ng-click="move(1)"> |
13 | 13 | <span class="glyphicon glyphicon-chevron-right"> </span> |
14 | 14 | </button> |
15 | 15 | </th> |
16 | 16 | </tr> |
17 | 17 | <tr ng-show="labels.length > 0"> |
18 | | - <th class="text-center" ng-show="showWeekNumbers"><h6>#</h6></th> |
19 | | - <th class="text-center" ng-repeat="label in labels"><h6>{{label}}</h6></th> |
| 18 | + <th class="text-center" ng-show="showWeekNumbers" style="overflow: hidden; min-width: 26px"><h6>#</h6></th> |
| 19 | + <th class="text-center" ng-repeat="label in labels" style="overflow: hidden; min-width: 26px"><h6>{{label}}</h6></th> |
20 | 20 | </tr> |
21 | 21 | </thead> |
22 | 22 | <tbody> |
23 | 23 | <tr ng-repeat="row in rows"> |
24 | | - <td ng-show="showWeekNumbers" class="text-center" style="overflow: hidden; width: 26px"><button type="button" class="btn btn-xs btn-link" disabled><strong><em>{{ getWeekNumber(row) }}</em></strong></button></td> |
25 | | - <td ng-repeat="dt in row" class="text-center" style="overflow: hidden; width: 26px"> |
| 24 | + <td ng-show="showWeekNumbers" class="text-center" style="overflow: hidden; min-width: 26px"><button type="button" class="btn btn-xs btn-link" disabled><strong><em>{{ getWeekNumber(row) }}</em></strong></button></td> |
| 25 | + <td ng-repeat="dt in row" class="text-center" style="overflow: hidden; min-width: 26px"> |
26 | 26 | <button type="button" style="width: 100%; border: 0px" class="btn btn-xs" ng-class="{'btn-primary': dt.selected, 'btn-default': !dt.selected}" ng-click="select(dt.date)" ng-disabled="dt.disabled"><span ng-class="{'text-muted': dt.secondary && !dt.selected}">{{dt.label}}</span></button> |
27 | 27 | </td> |
28 | 28 | </tr> |
|
0 commit comments