fix the CSS styling when resizing the window

This commit is contained in:
root 2025-02-19 08:33:21 +01:00
parent 35e1b130a8
commit 77faa0971f
4 changed files with 36 additions and 10 deletions

View file

@ -8,10 +8,10 @@
<link rel="stylesheet" type="text/css" href="style.css">
<link rel="icon" href="/img/logo-favicon.png">
</head>
<center >
<center>
<div class="width-class">
<?php
require("header.php");
$min_length = 1;
@ -85,10 +85,11 @@ require("header.php");
}
else{ // if query length is less than minimum or more than maximum
echo '</br></br><img src="img/logo-large.png"><p>Search query must be between '.$min_length . " and ".$max_length . " characters.</p>";
echo '</br></br><img src="img/logo-large.png" class="width: 100%"><p>Search query must be between '.$min_length . " and ".$max_length . " characters.</p>";
// TODO list the available categories
}
?>
</div>
<?php
require("footer.php");
?>