I have a table created in bootstrap that maintains size nicely on laptops, monitors and tablets, but on a phone the table is too big. Is there any solution how to make the table smaller? width on % and px does not work :/.
Photo:
<table class="table">
<thead>
<tr>
<th scope="col">Nr. Kursu</th>
<th scope="col"></th>
<th scope="col">1</th>
<th scope="col">2</th>
<th scope="col">3</th>
<th scope="col">4</th>
<th scope="col">5</th>
<th scope="col">6</th>
<th scope="col">7</th>
<th scope="col">8</th>
<th scope="col">9</th>
<th scope="col">10</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">Oznaczenia kursów</th>
<td></td>
<td>E</td>
<td>S</td>
<td>D</td>
<td>S</td>
<td>E 7</td>
<td>E 7</td>
<td>E</td>
<td>S</td>
<td>E 7</td>
<td>E 7</td>
</tr>
<tr>
<th scope="row">Kołobrzeg Kolejowa</th>
<td>0</td>
<td>4:45</td>
<td>5:45</td>
<td>6:45</td>
<td>7:45</td>
<td>8:45</td>
<td>10:45</td>
<td>12:55</td>
<td>14:45</td>
<td>15:20</td>
<td>17:15</td>
</tr>
<tr>
<th scope="row">Kołobrzeg Grochow.</th>
<td>0</td>
<td>4:45</td>
<td>5:45</td>
<td>6:45</td>
<td>7:45</td>
<td>8:45</td>
<td>10:45</td>
<td>12:55</td>
<td>14:45</td>
<td>15:20</td>
<td>17:15</td>
</tr>
<tr>
<th scope="row">Czernin</th>
<td>0</td>
<td>4:45</td>
<td>5:45</td>
<td>6:45</td>
<td>7:45</td>
<td>8:45</td>
<td>10:45</td>
<td>12:55</td>
<td>14:45</td>
<td>15:20</td>
<td>17:15</td>
</tr>
<tr>
<th scope="row">Dygowo</th>
<td>0</td>
<td>4:45</td>
<td>5:45</td>
<td>6:45</td>
<td>7:45</td>
<td>8:45</td>
<td>10:45</td>
<td>12:55</td>
<td>14:45</td>
<td>15:20</td>
<td>17:15</td>
</tr>
<tr>
<th scope="row">Pyszka</th>
<td>0</td>
<td>4:45</td>
<td>5:45</td>
<td>6:45</td>
<td>7:45</td>
<td>8:45</td>
<td>10:45</td>
<td>12:55</td>
<td>14:45</td>
<td>15:20</td>
<td>17:15</td>
</tr>
<tr>
<th scope="row">Jazy</th>
<td>0</td>
<td>4:45</td>
<td>5:45</td>
<td>6:45</td>
<td>7:45</td>
<td>8:45</td>
<td>10:45</td>
<td>12:55</td>
<td>14:45</td>
<td>15:20</td>
<td>17:15</td>
</tr>
<tr>
<th scope="row">Wrzosowo</th>
<td>0</td>
<td>4:45</td>
<td>5:45</td>
<td>6:45</td>
<td>7:45</td>
<td>8:45</td>
<td>10:45</td>
<td>12:55</td>
<td>14:45</td>
<td>15:20</td>
<td>17:15</td>
</tr>
<tr>
<th scope="row">Łykowo</th>
<td>0</td>
<td>4:45</td>
<td>5:45</td>
<td>6:45</td>
<td>7:45</td>
<td>8:45</td>
<td>10:45</td>
<td>12:55</td>
<td>14:45</td>
<td>15:20</td>
<td>17:15</td>
</tr>
<tr>
<th scope="row">Syrkowice</th>
<td>0</td>
<td>4:45</td>
<td>5:45</td>
<td>6:45</td>
<td>7:45</td>
<td>8:45</td>
<td>10:45</td>
<td>12:55</td>
<td>14:45</td>
<td>15:20</td>
<td>17:15</td>
</tr>
<tr>
<th scope="row">Brzeźno</th>
<td>0</td>
<td>4:45</td>
<td>5:45</td>
<td>6:45</td>
<td>7:45</td>
<td>8:45</td>
<td>10:45</td>
<td>12:55</td>
<td>14:45</td>
<td>15:20</td>
<td>17:15</td>
</tr>
<tr>
<th scope="row">Karlino UM</th>
<td>0</td>
<td>4:45</td>
<td>5:45</td>
<td>6:45</td>
<td>7:45</td>
<td>8:45</td>
<td>10:45</td>
<td>12:55</td>
<td>14:45</td>
<td>15:20</td>
<td>17:15</td>
</tr>
<tr>
<th scope="row">Redlino</th>
<td>0</td>
<td>4:45</td>
<td>5:45</td>
<td>6:45</td>
<td>7:45</td>
<td>8:45</td>
<td>10:45</td>
<td>12:55</td>
<td>14:45</td>
<td>15:20</td>
<td>17:15</td>
</tr>
<tr>
<th scope="row">Białogard PKP przyj.</th>
<td>0</td>
<td>4:45</td>
<td>5:45</td>
<td>6:45</td>
<td>7:45</td>
<td>8:45</td>
<td>10:45</td>
<td>12:55</td>
<td>14:45</td>
<td>15:20</td>
<td>17:15</td>
</tr>
</tbody>
</table>