Module: appdb Branch: master Commit: 91642742e92a3e8d1697a9e49d498d2ef051417c URL: http://source.winehq.org/git/appdb.git/?a=commit;h=91642742e92a3e8d1697a9e49... Author: Rosanne DiMesio <dimesio(a)earthlink.net> Date: Tue May 2 13:05:05 2017 -0500 Fix Manage Notes page layout Fixes bug 42115. Signed-off-by: Rosanne DiMesio <dimesio(a)earthlink.net> Signed-off-by: Jeremy Newman <jnewman(a)codeweavers.com> --- include/tagAssignmentMgr.php | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/include/tagAssignmentMgr.php b/include/tagAssignmentMgr.php index 28c1566..37ddb7f 100644 --- a/include/tagAssignmentMgr.php +++ b/include/tagAssignmentMgr.php @@ -62,7 +62,6 @@ abstract class TagAssignmentMgr extends ObjectManagerBase $iSize = min(sizeof($this->aTaggedEntries), 10); - echo '<div style="float: left;">'; $i = 0; $shOptions = ''; @@ -74,8 +73,8 @@ abstract class TagAssignmentMgr extends ObjectManagerBase } echo "<select size=\"$iSize\" name=\"iTagAssocList\">\n"; echo $shOptions; - echo '</select></div>'; - echo '<div style="margin-left: 10px; float: left;">'; + echo '</select>'; + echo '<div style="padding-bottom: 10px;">'; echo "<script type=\"text/JavaScript\">\n"; echo "function swap(index1, index2) {\n"; echo "var selector = document.forms['sQform']['iTagAssocList'];\n"; @@ -104,8 +103,10 @@ abstract class TagAssignmentMgr extends ObjectManagerBase echo "swap(index, index + 1);\n"; echo "}\n"; echo "</script>\n"; - echo '<button onclick="moveUp()" type="button">Move up</button><br />'; - echo '<button onclick="moveDown()" type="button">Move down</button>'; + echo '</div>'; + echo '<div class="btn-toolbar";>'; + echo '<button onclick="moveUp()" type="button" class="btn btn-default">Move up</button>'; + echo '<button onclick="moveDown()" type="button" class="btn btn-default">Move down</button>'; echo '</div>'; } @@ -140,4 +141,4 @@ abstract class TagAssignmentMgr extends ObjectManagerBase protected abstract function getTagObject($iId = null, $oRow = null); } -?> \ No newline at end of file +?>