Replace the fixed width with padding.

In this way the texts in other languages do not cause the height to be modified by the line breaks.
This commit is contained in:
Jaiver Pastor 2020-05-08 11:39:21 +02:00
parent e3e099680c
commit b96dd877fd
4 changed files with 16 additions and 10 deletions

View File

@ -124,7 +124,7 @@
<!-- IF direction="desc" --> <!-- IF direction="desc" -->
<input type="hidden" name="direction" value="desc"> <input type="hidden" name="direction" value="desc">
<!-- ENDIF direction="desc" --> <!-- ENDIF direction="desc" -->
<select name="exporttype" size="1" OnChange="document.exportform.submit();" STYLE="width: 150px"> <select name="exporttype" size="1" OnChange="document.exportform.submit();">
<option selected value="">{LN_GEN_SELECTEXPORT}</option> <option selected value="">{LN_GEN_SELECTEXPORT}</option>
<!-- BEGIN EXPORTTYPES --> <!-- BEGIN EXPORTTYPES -->
<option value="{ID}">{DisplayName}</option> <option value="{ID}">{DisplayName}</option>
@ -149,14 +149,14 @@
</td> </td>
<!-- IF ViewEnableAutoReloadSeconds_visible="true" --> <!-- IF ViewEnableAutoReloadSeconds_visible="true" -->
<td nowrap width="105" class="cellmenu2">{LN_AUTORELOAD}:</td> <td nowrap class="cellmenu2">{LN_AUTORELOAD}:</td>
<td nowrap width="50" class="line2"> <td nowrap class="line2">
<form action="userchange.php" method="get" name="autoreload"> <form action="userchange.php" method="get" name="autoreload">
<input type="hidden" name="op" value="autoreload"> <input type="hidden" name="op" value="autoreload">
<table border="0" cellspacing="0" cellpadding="0" align="right"> <table border="0" cellspacing="0" cellpadding="0" align="right">
<tr> <tr>
<td> <td>
<select name="autoreloadtime" size="1" OnChange="document.autoreload.submit();" STYLE="width: 100px"> <select name="autoreloadtime" size="1" OnChange="document.autoreload.submit();">
<!-- BEGIN reloadtimes --> <!-- BEGIN reloadtimes -->
<option {Selected} value="{ID}">{DisplayName}</option> <option {Selected} value="{ID}">{DisplayName}</option>
<!-- END reloadtimes --> <!-- END reloadtimes -->
@ -169,19 +169,19 @@
<!-- ENDIF ViewEnableAutoReloadSeconds_visible="true" --> <!-- ENDIF ViewEnableAutoReloadSeconds_visible="true" -->
<!-- IF main_recordcount_found="true" --> <!-- IF main_recordcount_found="true" -->
<td nowrap width="130" class="cellmenu2">{LN_GEN_RECORDCOUNT}:</td> <td nowrap class="cellmenu2">{LN_GEN_RECORDCOUNT}:</td>
<td nowrap width="50" class="line2"><B>{main_recordcount}</B></td> <td nowrap class="line2" STYLE="padding: 0px 15px 0px 0px;"><B>{main_recordcount}</B></td>
<!-- ENDIF main_recordcount_found="true" --> <!-- ENDIF main_recordcount_found="true" -->
<!-- IF main_pagerenabled="true" --> <!-- IF main_pagerenabled="true" -->
<td nowrap width="120" class="cellmenu2">{LN_GEN_PAGERSIZE}:</td> <td nowrap class="cellmenu2">{LN_GEN_PAGERSIZE}:</td>
<td nowrap width="50" class="line2"> <td nowrap class="line2">
<form action="userchange.php" method="get" name="pageingsize"> <form action="userchange.php" method="get" name="pageingsize">
<input type="hidden" name="op" value="changepagesize"> <input type="hidden" name="op" value="changepagesize">
<table border="0" cellspacing="0" cellpadding="0" align="right"> <table border="0" cellspacing="0" cellpadding="0" align="right">
<tr> <tr>
<td> <td>
<select name="pagesizeid" size="1" OnChange="document.pageingsize.submit();" STYLE="width: 100px"> <select name="pagesizeid" size="1" OnChange="document.pageingsize.submit();">
<!-- BEGIN pagesizes --> <!-- BEGIN pagesizes -->
<option {Selected} value="{ID}">{DisplayName}</option> <option {Selected} value="{ID}">{DisplayName}</option>
<!-- END pagesizes --> <!-- END pagesizes -->
@ -192,7 +192,7 @@
</form> </form>
</td> </td>
<td class="cellmenu2" nowrap><B>Pager: &nbsp; </B></td> <td class="cellmenu2" nowrap>Pager:</td>
<td class="line0" width="20" nowrap> <td class="line0" width="20" nowrap>
<!-- IF main_pager_first_found="true" --> <!-- IF main_pager_first_found="true" -->
<a href="?{additional_url_sortingonly}&uid=-1{additional_url}" target="_top"><img src="{MENU_PAGER_BEGIN}" width="16" height="16" title="{LN_GEN_FIRSTPAGE}"></a> <a href="?{additional_url_sortingonly}&uid=-1{additional_url}" target="_top"><img src="{MENU_PAGER_BEGIN}" width="16" height="16" title="{LN_GEN_FIRSTPAGE}"></a>

View File

@ -302,6 +302,8 @@ A.cellmenu1_link:hover
background-color: #24343c; background-color: #24343c;
background-image: url(images/bg_2.png); background-image: url(images/bg_2.png);
background-repeat: repeat-x; background-repeat: repeat-x;
padding: 0px 10px 0px 5px;
} }
.cellmenu2_naked .cellmenu2_naked
{ {

View File

@ -300,6 +300,8 @@ A.cellmenu1_link:hover
background-image: url(images/bg_2.png); background-image: url(images/bg_2.png);
background-repeat: repeat-x; background-repeat: repeat-x;
color: #393327; color: #393327;
padding: 0px 10px 0px 5px;
} }
.cellmenu2_naked .cellmenu2_naked
{ {

View File

@ -262,6 +262,8 @@ a.cellmenu1_link:hover
background-color: #0A4CAD; background-color: #0A4CAD;
color: #FFFFFF; color: #FFFFFF;
padding: 0px 10px 0px 5px;
} }
.cellmenu2_naked .cellmenu2_naked
{ {