Skip to content

Commit e3f5c98

Browse files
authored
Merge pull request #2 from MockBukkit/fix-width-overflow
2 parents e3d0a55 + af469bf commit e3f5c98

File tree

5 files changed

+14
-14
lines changed

5 files changed

+14
-14
lines changed

components/CatchSection.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
<template>
44
<div
5-
class="mx-auto my-[5rem] flex w-screen max-w-screen-xl flex-1 flex-row items-center justify-center max-md:my-[2rem] max-md:mt-4 max-md:w-screen max-md:flex-col"
5+
class="mx-auto my-[5rem] flex w-full max-w-screen-xl flex-1 flex-row items-center justify-center max-md:my-[2rem] max-md:mt-4 max-md:w-full max-md:flex-col"
66
>
7-
<div class="w-screen max-w-screen-xl text-white max-md:flex max-md:flex-col">
7+
<div class="w-full max-w-screen-xl text-white max-md:flex max-md:flex-col max-xl:ml-4 max-md:ml-0">
88
<h1 class="py-2 text-left text-5xl font-semibold max-md:py-0 max-md:text-center max-md:text-2xl">
99
Testing.
1010
</h1>
@@ -13,7 +13,7 @@
1313
>
1414
Simplified.
1515
</h2>
16-
<p class="text-md mx-lg:px-6 py-2 pr-20 font-medium max-lg:w-screen max-lg:pr-0 max-md:text-center">
16+
<p class="text-md mx-lg:px-6 py-2 pr-20 font-medium max-lg:w-full max-lg:pr-0 max-md:text-center">
1717
Mockbukkit makes unit testing of Paper Plugins easier by providing Mocks for common features
1818
</p>
1919
<div class="mt-3 flex flex-row items-center justify-start max-md:flex-col max-md:justify-center">
@@ -41,7 +41,7 @@
4141
</a>
4242
</div>
4343
</div>
44-
<div class="flex w-screen max-w-screen-xl justify-end">
44+
<div class="flex w-full max-w-screen-xl justify-end">
4545
<img src="~/assets/minecraft-trees.jpg" alt="test" class="w-11/12 rounded-2xl max-md:mx-auto max-md:mt-5" />
4646
</div>
4747
</div>

components/footer/Footer.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ const footer_categories = [
5555

5656
<template>
5757
<div class="mx-auto flex max-w-screen-xl flex-col divide-y divide-neutral-500">
58-
<div class="mx-auto flex max-w-screen-xl flex-row max-md:flex-col">
58+
<div class="flex max-w-screen-xl flex-row max-md:flex-col justify-between">
5959
<FooterCategory
6060
v-for="category in footer_categories"
6161
:title="category.title"
@@ -66,10 +66,10 @@ const footer_categories = [
6666
<img
6767
src="../../assets/logo.png"
6868
alt="Full Logo"
69-
class="h-auto w-1/6 max-md:mx-auto max-md:my-4 max-md:w-2/3"
69+
class="h-auto w-1/6 max-md:mx-auto max-md:my-4 max-md:w-2/3 max-xl:ml-4"
7070
/>
7171
<div>
72-
<p class="text-sm text-neutral-400 max-md:text-center">
72+
<p class="text-sm text-neutral-400 max-md:text-center max-xl:mr-4">
7373
© 2024 The Mockbukkit Team.
7474
</p>
7575
</div>

components/footer/FooterCategory.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const props = defineProps({
2020
</script>
2121

2222
<template>
23-
<div class="mx-40 my-8 text-center max-md:mx-auto max-md:my-2">
23+
<div class="w-40 my-8 text-center max-md:mx-auto max-md:my-2">
2424
<h2 class="my-5 font-bold text-white">{{ title }}</h2>
2525
<ul>
2626
<li v-for="link in links" :key="link.name">

components/highlight/HighlightCard.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const props = defineProps({
1919

2020
<template>
2121
<div
22-
class="flex flex-col rounded-lg bg-gradient-to-b from-green-800 to-green-700 pb-10 pt-3 shadow-xl transition duration-200 ease-in-out hover:scale-105"
22+
class="flex flex-col rounded-lg bg-gradient-to-b from-green-800 to-green-700 pb-10 pt-3 shadow-xl transition duration-200 ease-in-out scale-95 hover:scale-100"
2323
>
2424
<div class="mt-3 flex flex-col items-center justify-center">
2525
<font-awesome-icon class="mb-3 text-3xl text-white" :icon="icon" />

components/highlight/HighlightSection.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,27 +32,27 @@ const loopCards = computed(() => {
3232
</script>
3333

3434
<template>
35-
<div class="my-8 flex w-screen flex-col bg-neutral-800 py-8">
35+
<div class="my-8 flex w-full flex-col bg-neutral-800 py-8">
3636
<div class="mx-auto flex flex-row">
3737
<h3 class="font text-xl font-semibold text-white">Make your development life</h3>
3838
<h3 class="ml-1 text-xl font-semibold text-green-500">easier.</h3>
3939
</div>
40-
<div class="mx-auto my-8 flex max-w-screen-xl flex-row max-md:flex-col">
40+
<div class="mx-auto my-8 flex max-w-screen-xl flex-row max-lg:flex-col">
4141
<HighlightCard
42-
class="my-4 mr-4 flex-1 max-md:ml-4"
42+
class="flex-1 my-2 mr-2 max-lg:ml-2"
4343
:icon="cards[0].icon"
4444
:title="cards[0].title"
4545
:text="cards[0].text"
4646
></HighlightCard>
4747
<HighlightCard
4848
v-for="card in loopCards"
49-
class="mx-4 my-4 flex-1 max-md:mx-4"
49+
class="flex-1 my-2 mx-2 "
5050
:icon="card.icon"
5151
:title="card.title"
5252
:text="card.text"
5353
></HighlightCard>
5454
<HighlightCard
55-
class="my-4 ml-4 flex-1 max-md:mr-4"
55+
class="flex-1 my-2 ml-2 max-lg:mr-2"
5656
:icon="cards[cards.length - 1].icon"
5757
:title="cards[cards.length - 1].title"
5858
:text="cards[cards.length - 1].text"

0 commit comments

Comments
 (0)