switch center-div to fit-content

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
Arthur Lu 2023-01-09 16:09:18 -08:00
parent e042cbccd1
commit 3b2d975e98
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@
<h1>tronnet</h1>
<h2>Affordable custom server solutions.</h2>
<div class="center-div">
<div class="center-div" style="width: min-content;">
<h3>Cluster Directory</h3>
<div class="btn-group">
<button onclick="window.location.href='https://tronnet.net';">Cluster Homepage</button>

View File

@ -31,7 +31,7 @@ p {
.center-div {
min-width: 480px;
max-width: 50%;
width: min-content;
width: fit-content;
margin-left: auto;
margin-right: auto;
}