Skip to content

Commit

Permalink
#55 Remove <main> overflow-y-scroll
Browse files Browse the repository at this point in the history
Our apps and servies are a embedded, we only need overflow-y on the dashboard
  • Loading branch information
waseemsadiq committed Jun 4, 2022
1 parent 05e5206 commit 539b893
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion sites/dashboard/pages/php/php-apc.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
visible: true
---

<section class="max-w-7xl mx-auto py-4 px-5 min-h-screen">
<section class="max-w-7xl mx-auto py-4 px-5 h-screen">
<object type="text/html" data="http://localhost:8080/__info/php-apc" class="min-h-screen w-full"></object>
</section>
2 changes: 1 addition & 1 deletion sites/dashboard/pages/php/php-fpm.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
visible: true
---

<section class="max-w-7xl mx-auto py-4 px-5 min-h-screen">
<section class="max-w-7xl mx-auto py-4 px-5 h-screen">
<object type="text/html" data="http://localhost:8080/__info/php-fpm" class="min-h-screen w-full"></object>
</section>
2 changes: 1 addition & 1 deletion sites/dashboard/pages/php/php-info.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
visible: true
---

<section class="max-w-7xl mx-auto py-4 px-5 min-h-screen">
<section class="max-w-7xl mx-auto py-4 px-5 h-screen">
<object type="text/html" data="http://localhost:8080/__info/php-info" class="min-h-screen w-full"></object>
</section>
2 changes: 1 addition & 1 deletion sites/dashboard/pages/php/php-opcache.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
visible: true
---

<section class="max-w-7xl mx-auto py-4 px-5 min-h-screen">
<section class="max-w-7xl mx-auto py-4 px-5 h-screen">
<object type="text/html" data="http://localhost:8080/__info/php-opcache" class="min-h-screen w-full"></object>
</section>
2 changes: 1 addition & 1 deletion sites/dashboard/pages/php/phpmyadmin.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
visible: true
---

<section class="max-w-7xl mx-auto py-4 px-5 min-h-screen">
<section class="max-w-7xl mx-auto py-4 px-5 h-screen">
<div class="flex justify-between items-center border-b border-gray-300">
<h1 class="text-2xl font-semibold pt-2 pb-6">PhpMyAdmin</h1>
<button type="button" class="px-6 py-2.5 bg-jtblue-600 text-white font-medium text-xs leading-tight uppercase rounded shadow-md hover:bg-jtblue-700 hover:shadow-lg focus:bg-jtblue-700 focus:shadow-lg focus:outline-none focus:ring-0 active:bg-jtblue-800 active:shadow-lg transition duration-150 ease-in-out">
Expand Down
2 changes: 1 addition & 1 deletion sites/dashboard/pages/system/dozzle.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
visible: true
---

<section class="max-w-7xl mx-auto py-4 px-5 min-h-screen">
<section class="max-w-7xl mx-auto py-4 px-5 h-screen">
<object type="text/html" data="http://dozzle.localhost/" class="min-h-screen w-full"></object>
</section>
2 changes: 1 addition & 1 deletion sites/dashboard/pages/system/traefik.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
visible: true
---

<section class="max-w-7xl mx-auto py-4 px-5 min-h-screen">
<section class="max-w-7xl mx-auto py-4 px-5 h-screen">
<object type="text/html" data="http://traefik.localhost/dashboard/#/" class="min-h-screen w-full"></object>
</section>
2 changes: 1 addition & 1 deletion sites/dashboard/pages/tools/mailhog.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
visible: true
---

<section class="max-w-7xl mx-auto py-4 px-5 min-h-screen">
<section class="max-w-7xl mx-auto py-4 px-5 h-screen">
<object type="text/html" data="http://mailhog.localhost/" class="min-h-screen w-full"></object>
</section>
2 changes: 1 addition & 1 deletion sites/dashboard/templates/layouts/default.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<?= partial('navigation/main',[]);?>


<main class="flex-1 h-screen overflow-y-scroll overflow-x-hidden">
<main class="flex-1 h-screen<?= (page()->name == 'Dashboard') ? ' overflow-y-scroll' : '' ?> overflow-x-hidden">

<!-- LOGO AND HAMBURGER BUTTON - HIDDEN ON DESKTOP -->
<div class="md:hidden justify-between items-center bg-black text-white flex">
Expand Down

0 comments on commit 539b893

Please sign in to comment.