mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-26 14:36:06 +00:00
Fix the display of long words in the profile
Now the long words in the player's description are not hidden but are transferred to a new line
This commit is contained in:
@@ -146,7 +146,7 @@ if($displayarray['vac_mode'] == 1) echo "<tr><th colspan='2'><font color='Maroon
|
||||
|
||||
</td>
|
||||
<td class="desc1" >
|
||||
<div><?php echo nl2br($profiel[1]); ?>
|
||||
<div class="desc1div"><?php echo nl2br($profiel[1]); ?>
|
||||
|
||||
</div>
|
||||
</td>
|
||||
|
||||
@@ -3203,9 +3203,15 @@ td.cbg2 {
|
||||
.ddb {
|
||||
float: left;
|
||||
}
|
||||
.desc1div {
|
||||
width: 236px;
|
||||
word-wrap: break-word;
|
||||
overflow-wrap: break-word;
|
||||
}
|
||||
.desc2div {
|
||||
overflow: hidden;
|
||||
width: 235px;
|
||||
word-wrap: break-word;
|
||||
overflow-wrap: break-word;
|
||||
}
|
||||
div.activation_time {
|
||||
padding-left: 5px;
|
||||
|
||||
Reference in New Issue
Block a user