fix menu box&button siz

This commit is contained in:
2022-10-11 10:44:54 +02:00
parent fdff76093f
commit 24d99a7ba4
3 changed files with 18 additions and 18 deletions

View File

@@ -21,7 +21,7 @@ extra:
[Our People](/people) [Our People](/people)
<br> <br>
Team, stories, & more <p class="text-sm">Team, stories, & more</p>
</button> </button>
@@ -31,7 +31,7 @@ Team, stories, & more
[Our Partners](/partners) [Our Partners](/partners)
<br> <br>
Explore Our Partners <p class="text-sm">Explore Our Partners</p>
||| |||
@@ -39,7 +39,7 @@ Explore Our Partners
[ThreeFold Community](/community) [ThreeFold Community](/community)
<br> <br>
Welcome To The Fold <p class="text-sm">Welcome To The Fold</p>
</button> </button>
@@ -49,7 +49,7 @@ Welcome To The Fold
[Developer Resources](/developer) [Developer Resources](/developer)
<br> <br>
Join The Developer Community <p class="text-sm">Join The Developer Community</p>
</button> </button>
@@ -66,7 +66,7 @@ Join The Developer Community
[ThreeFold Connect](https://library.threefold.me/info/threefold#/tokens/threefold__threefold_connect) [ThreeFold Connect](https://library.threefold.me/info/threefold#/tokens/threefold__threefold_connect)
<br> <br>
TFT Wallet, 2FA, & More <p class="text-sm">TFT Wallet, 2FA, & More</p>
</button> </button>
@@ -74,7 +74,7 @@ TFT Wallet, 2FA, & More
[Dashboard](https://dashboard.grid.tf/) [Dashboard](https://dashboard.grid.tf/)
<br> <br>
Portal & Capacity Explorer <p class="text-sm">Portal & Capacity Explorer</p>
</button> </button>
@@ -82,7 +82,7 @@ Portal & Capacity Explorer
[Weblet Playground](https://play.grid.tf) [Weblet Playground](https://play.grid.tf)
<br> <br>
Deploy a VM & More <p class="text-sm">Deploy a VM & More</p>
||| |||
@@ -92,7 +92,7 @@ Deploy a VM & More
[Library](https://library.threefold.me/info/threefold#/) [Library](https://library.threefold.me/info/threefold#/)
<br> <br>
Explore the Documentation <p class="text-sm">Explore the Documentation</p>
</button> </button>
@@ -100,7 +100,7 @@ Explore the Documentation
[Manual](https://library.threefold.me/info/manual/#/manual__manual3_home_new) [Manual](https://library.threefold.me/info/manual/#/manual__manual3_home_new)
<br> <br>
Get Started on the Grid <p class="text-sm">Get Started on the Grid</p>
</button> </button>
@@ -108,7 +108,7 @@ Get Started on the Grid
[GitHub](https://github.com/) [GitHub](https://github.com/)
<br> <br>
Code Library & Documentation <p class="text-sm">Code Library & Documentation</p>
||| |||
@@ -118,7 +118,7 @@ Code Library & Documentation
[Blog](/blog) [Blog](/blog)
<br> <br>
Explore the Blogs <p class="text-sm">Explore the Blogs</p>
</button> </button>
@@ -126,7 +126,7 @@ Explore the Blogs
[Newsroom](/newsroom) [Newsroom](/newsroom)
<br> <br>
Check the Latest Updates <p class="text-sm">Check the Latest Updates</p>
</button> </button>
@@ -134,7 +134,7 @@ Check the Latest Updates
[Intro Docs](https://intro.threefold.me) [Intro Docs](https://intro.threefold.me)
<br> <br>
Perfect for Newcomers <p class="text-sm">Perfect for Newcomers</p>
||| |||
@@ -144,13 +144,13 @@ Perfect for Newcomers
[Forum](https://forum.threefold.io) [Forum](https://forum.threefold.io)
<br> <br>
Questions & Feedback <p class="text-sm">Questions & Feedback</p>
<button onclick="window.location.href='/support'"> <button onclick="window.location.href='/support'">
[Support](/support) [Support](/support)
<br> <br>
Speak Live with a Human <p class="text-sm">Speak Live with a Human</p>
</button> </button>
@@ -158,7 +158,7 @@ Speak Live with a Human
[Careers](/careers) [Careers](/careers)
<br> <br>
Join the Team <p class="text-sm">Join the Team</p>
</button> </button>

View File

@@ -128,7 +128,7 @@
<nav> <nav>
<div id="{{menu_id}}" class="mt-16 sm:mt-0 md:mt-0 lg:mt-0 xl:mt-0 2xl:mt-0 z-30 absolute inset-x-0 transform shadow-lg lg:backdrop-blur xl:backdrop-blur transition duration-200 ease-in opacity-0 -translate-y-1 hidden"> <div id="{{menu_id}}" class="mt-16 sm:mt-0 md:mt-0 lg:mt-0 xl:mt-0 2xl:mt-0 z-30 absolute inset-x-0 transform shadow-lg lg:backdrop-blur xl:backdrop-blur transition duration-200 ease-in opacity-0 -translate-y-1 hidden">
<div class="bg-white lg:bg-semi-white md:bg-semi-white xl:bg-semi-white"> <div class="bg-white lg:bg-semi-white md:bg-semi-white xl:bg-semi-white">
<div id="menu" class="mx-8 lg:mx-40 xl:mx-40 px-6 sm:p-6 md:p-8"> <div id="menu" class="mx-8 lg:mx-10 xl:mx-10 px-6 sm:p-6 md:p-8">
{{header_menu | safe }} {{header_menu | safe }}
</div> </div>
</div> </div>

View File

@@ -51,7 +51,7 @@ Parameters:
{% set row_class = row_class ~ " lg:items-center" %} {% set row_class = row_class ~ " lg:items-center" %}
{% endif %} {% endif %}
{% set col_class = "flex-1 mb-6 md:mb-0 md:mx-8" %} {% set col_class = "flex-1 mb-6 md:mb-0 md:mx-2" %}
{% set row_id = '' %} {% set row_id = '' %}
{% if id %} {% if id %}