1
0
mirror of https://github.com/billz/raspap-webgui.git synced 2023-10-10 13:37:24 +02:00

make interface cards full width for legibility

This commit is contained in:
glaszig 2021-04-22 16:51:10 +01:00
parent d1382cbabf
commit 048848b2b5

View File

@ -60,8 +60,8 @@
<?php if (!$bridgedEnabled) : // No interface details when bridged ?> <?php if (!$bridgedEnabled) : // No interface details when bridged ?>
<?php foreach ($interfaces as $if): ?> <?php foreach ($interfaces as $if): ?>
<?php $if_quoted = htmlspecialchars($if, ENT_QUOTES) ?> <?php $if_quoted = htmlspecialchars($if, ENT_QUOTES) ?>
<div class="col-md-6 mb-3"> <div class="col-md mb-3">
<div class="card h-100"> <div class="card h-100 w-100">
<div class="card-header"><?php echo $if_quoted ?></div> <div class="card-header"><?php echo $if_quoted ?></div>
<div class="card-body"> <div class="card-body">
<pre class="unstyled" id="<?php echo $if_quoted ?>-summary"></pre> <pre class="unstyled" id="<?php echo $if_quoted ?>-summary"></pre>