mirror of
https://github.com/ansible/awx.git
synced 2024-10-27 09:25:10 +03:00
AC-452 fixed buttons to not wrap on desktop. At width of 768px or less buttons will wrap. Added CSS to make wrapped buttons on small screens all have same width and some space between them- wrapping now appears much more intentional or planned.
This commit is contained in:
parent
55292c9d08
commit
5f3eb290ef
@ -86,6 +86,11 @@ hr {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
th.actions-column,
|
||||
td.actions {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.tab-content {
|
||||
padding-top: 20px;
|
||||
}
|
||||
@ -944,4 +949,13 @@ tr td button i {
|
||||
table-layout: fixed;
|
||||
}
|
||||
|
||||
th.actions-column,
|
||||
td.actions {
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
td.actions button {
|
||||
width: 75px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
}
|
||||
|
@ -202,7 +202,7 @@ angular.module('ListGenerator', ['GeneratorHelpers'])
|
||||
html += "</div><!-- row -->\n";
|
||||
|
||||
// table header row
|
||||
html += "<table class=\"table table-condensed"
|
||||
html += "<table class=\"table"
|
||||
html += (list['class']) ? " " + list['class'] : "";
|
||||
html += (options.mode == 'lookup' || options.id) ? ' table-hover-inverse' : '';
|
||||
html += (list.hover) ? ' table-hover' : '';
|
||||
@ -247,7 +247,7 @@ angular.module('ListGenerator', ['GeneratorHelpers'])
|
||||
html += "<th>Select</th>";
|
||||
}
|
||||
else if (options.mode == 'edit') {
|
||||
html += "<th></th>\n";
|
||||
html += "<th class=\"actions-column\"></th>\n";
|
||||
}
|
||||
html += "</tr>\n";
|
||||
html += "</thead>\n";
|
||||
@ -315,7 +315,7 @@ angular.module('ListGenerator', ['GeneratorHelpers'])
|
||||
// End List
|
||||
html += "</tbody>\n";
|
||||
html += "</table>\n";
|
||||
|
||||
|
||||
if (options.mode == 'select' && (options.selectButton == undefined || options.selectButton == true)) {
|
||||
html += "<div class=\"navigation-buttons\">\n";
|
||||
html += " <button class=\"btn btn-small btn-primary pull-right\" aw-tool-tip=\"Complete your selection\" " +
|
||||
|
Loading…
Reference in New Issue
Block a user