Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
webui: fix the css clash for date picker, fixes #2553
  • Loading branch information
perexg committed Dec 15, 2014
1 parent 774323d commit c7be037
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/webui/static/app/ext.css
Expand Up @@ -510,12 +510,12 @@
width: 100px;
}

.x-date-date {
.x-nice-date {
display: inline-block;
width: 6em;
}

.x-date-time {
.x-nice-time {
display: inline-block;
width: 4em;
text-align: right;
Expand Down
4 changes: 2 additions & 2 deletions src/webui/static/app/tvheadend.js
Expand Up @@ -156,8 +156,8 @@ Ext.Ajax.request({
*/
tvheadend.niceDate = function(dt) {
var d = new Date(dt);
return '<div class="x-date-date">' + d.toLocaleDateString() + '</div>' +
'<div class="x-date-time">' + d.toLocaleTimeString() + '</div>';
return '<div class="x-nice-date">' + d.toLocaleDateString() + '</div>' +
'<div class="x-nice-time">' + d.toLocaleTimeString() + '</div>';
}

/**
Expand Down

0 comments on commit c7be037

Please sign in to comment.