Fixed width exceeding table columns, when containing large text

In some cases table columns were exceeding the table width. Fixed now.

Signed-off-by: cris-technikum <hainberg@technikum-wien.at>
This commit is contained in:
cris-technikum
2021-05-26 19:57:23 +02:00
parent 87a4f9b7c0
commit b7939f645e
3 changed files with 12 additions and 6 deletions
@@ -91,7 +91,7 @@ $this->load->view(
<div class="panel-body">
<div class="row">
<div class="col-lg-6">
<table class="table table-bordered table-condensed">
<table class="table table-bordered table-condensed table-fixed">
<tbody>
<tr>
<th class="col-xs-4"><?php echo ucfirst($this->p->t('person', 'studentIn')); ?></th>
@@ -118,7 +118,7 @@ $this->load->view(
</table>
</div>
<div class="col-lg-6">
<table class="table table-bordered table-condensed">
<table class="table table-bordered table-condensed table-fixed">
<tbody>
<tr>
@@ -179,7 +179,7 @@ $this->load->view(
<form id="form-empfehlung">
<input type="hidden" name="anrechnung_id"
value="<?php echo $anrechnungData->anrechnung_id ?>">
<table class="table table-bordered table-condensed">
<table class="table table-bordered table-condensed table-fixed">
<tbody>
<tr>
<th class="col-xs-4"><?php echo ucfirst($this->p->t('anrechnung', 'empfehlungsanfrageAm')); ?></th>
@@ -85,7 +85,7 @@ $this->load->view(
<div class="panel-body">
<div class="row">
<div class="col-lg-6">
<table class="table table-bordered table-condensed">
<table class="table table-bordered table-condensed table-fixed">
<tbody>
<tr>
<th class="col-xs-4"><?php echo ucfirst($this->p->t('person', 'studentIn')); ?></th>
@@ -111,7 +111,7 @@ $this->load->view(
</table>
</div>
<div class="col-lg-6">
<table class="table table-bordered table-condensed">
<table class="table table-bordered table-condensed table-fixed">
<tbody>
<tr>
<th class="col-xs-4"><?php echo $this->p->t('lehre', 'ects'); ?></th>
@@ -167,7 +167,7 @@ $this->load->view(
</div>
</div>
<div class="panel-body">
<table class="table table-bordered table-condensed">
<table class="table table-bordered table-condensed table-fixed">
<tbody>
<tr>
+6
View File
@@ -69,4 +69,10 @@
.btn-mr50
{
margin-right: 50px;
}
.table-fixed
{
table-layout: fixed;
word-wrap: break-word;
}