Skip to content

Commit

Permalink
Prevent VTS action buttons from wrapping
Browse files Browse the repository at this point in the history
  • Loading branch information
terrill committed Aug 16, 2018
1 parent b11c4a9 commit 2cc12d9
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 7 deletions.
3 changes: 3 additions & 0 deletions build/ableplayer.dist.js
Original file line number Diff line number Diff line change
Expand Up @@ -13116,6 +13116,9 @@
$th = $('<th>', {
'scope': 'col'
}).text(headers[i]);
if (headers[i] === 'Actions') {
$th.addClass('actions');
}
$tr.append($th);
}
$table.append($tr);
Expand Down
3 changes: 3 additions & 0 deletions build/ableplayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -13116,6 +13116,9 @@
$th = $('<th>', {
'scope': 'col'
}).text(headers[i]);
if (headers[i] === 'Actions') {
$th.addClass('actions');
}
$tr.append($th);
}
$table.append($tr);
Expand Down
4 changes: 2 additions & 2 deletions build/ableplayer.min.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions build/ableplayer.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ableplayer",
"version": "3.1.7",
"version": "3.1.8",
"description": "fully accessible HTML5 media player",
"homepage": "http://ableplayer.github.io/ableplayer",
"bugs": "https://github.com/ableplayer/ableplayer/issues",
Expand Down
3 changes: 3 additions & 0 deletions scripts/vts.js
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,9 @@
$th = $('<th>', {
'scope': 'col'
}).text(headers[i]);
if (headers[i] === 'Actions') {
$th.addClass('actions');
}
$tr.append($th);
}
$table.append($tr);
Expand Down
5 changes: 3 additions & 2 deletions styles/ableplayer.css
Original file line number Diff line number Diff line change
Expand Up @@ -1090,12 +1090,13 @@ div.able-chapters-div button::-moz-focus-inner {
border-collapse: collapse;
padding: 0.5em 0.75em;
}
#able-vts table td.buttons {
width: 100px;
#able-vts table th.actions {
min-width: 140px;
}
#able-vts table td button {
width: auto;
padding: 0;
margin: 2px;
}
#able-vts table td button svg {
width: 16px;
Expand Down

0 comments on commit 2cc12d9

Please sign in to comment.