Skip to content

Commit c6135c1

Browse files
authored
Merge pull request #11391 from roiLeo/chore/bulma/container.is-fluid
🔧 .container.is-fluid to tailwind
2 parents 51d0c16 + b8d0bb6 commit c6135c1

File tree

16 files changed

+26
-40
lines changed

16 files changed

+26
-40
lines changed

assets/styles/global.scss

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -92,23 +92,6 @@ body {
9292
}
9393
}
9494

95-
.container.is-fluid {
96-
padding-left: $fluid-container-padding;
97-
padding-right: $fluid-container-padding;
98-
}
99-
100-
@include mobile {
101-
.column-padding {
102-
padding-left: 10px !important;
103-
padding-right: 10px !important;
104-
margin: 0 -12px !important;
105-
}
106-
.container.is-fluid {
107-
padding-left: $fluid-container-padding-mobile;
108-
padding-right: $fluid-container-padding-mobile;
109-
}
110-
}
111-
11295
/* move to global */
11396
.is-ellipsis {
11497
@apply overflow-hidden whitespace-nowrap text-ellipsis;
@@ -217,4 +200,4 @@ table th {
217200
-1px 0px 0 rgb(var(--text-color)),
218201
0px -1px 0 rgb(var(--text-color)),
219202
4px 4px rgb(var(--text-color));
220-
}
203+
}

components/ExploreLayoutWithSidebar.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<div
3-
class="container is-fluid"
3+
class="container-fluid"
44
:class="{ '!pl-0': isSidebarOpen }"
55
>
66
<slot />

components/Navbar.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
}"
99
>
1010
<div
11-
class="container items-center max-lg:!px-0"
12-
:class="{ 'is-fluid': !isTouch }"
11+
class="grow relative mx-auto my-0 max-lg:!px-0 items-stretch flex min-h-[3.25rem] w-full"
12+
:class="{ 'w-full max-w-none md:!px-10 !px-5': !isTouch }"
1313
>
1414
<!-- BRAND -->
15-
<div class="navbar-brand">
15+
<div class="navbar-brand ml-[-0.75rem]">
1616
<nuxt-link
1717
v-if="!isMobile || !openMobileSearchBar"
1818
to="/"

components/collection/CollectionHeader.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
:collection="collection"
66
/>
77
<section class="pt-5">
8-
<div class="container is-fluid">
8+
<div class="container-fluid">
99
<CollectionInfo
1010
ref="collectionInfo"
1111
:collection-id="collectionId"

components/collection/CollectionHeader/CollectionBanner.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
<section class="h-full py-8">
1111
<div
12-
class="container is-fluid collection-banner-content flex flex-col md:flex-row items-start md:items-end md:justify-between h-full"
12+
class="container-fluid collection-banner-content flex flex-col md:flex-row items-start md:items-end md:justify-between h-full"
1313
>
1414
<div class="lg:flex-1">
1515
<div class="flex flex-col items-start">

components/landing/HeroBanner.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<section class="!pt-8 md:!pt-[3rem]">
3-
<div class="container is-fluid flex max-md:flex-col max-md:gap-8 justify-center md:justify-between items-center">
3+
<div class="container-fluid flex max-md:flex-col max-md:gap-8 justify-center md:justify-between items-center">
44
<h1
55
class="text-3xl md:text-[39px] md:leading-9 font-bold flex max-md:flex-col max-md:text-center md:gap-3 md:flex-wrap"
66
>
@@ -24,7 +24,7 @@
2424

2525
<div
2626
:key="usePrefix().urlPrefix.value"
27-
class="container is-fluid !mt-8 md:!mt-[3rem] mb-16"
27+
class="container-fluid !mt-8 md:!mt-[3rem] mb-16"
2828
>
2929
<CarouselTypeDrops />
3030
</div>

components/landing/LandingPage.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,20 @@
1010
v-if="showTopCollections"
1111
class="py-8 instance"
1212
>
13-
<div class="container is-fluid">
13+
<div class="container-fluid">
1414
<LandingTopCollections class="my-5" />
1515
</div>
1616
</section>
1717

1818
<section class="py-8 instance">
19-
<div class="container is-fluid">
19+
<div class="container-fluid">
2020
<!-- generative -->
2121
<LazyCarouselTypeGenerative />
2222
</div>
2323
</section>
2424

2525
<section class="py-8 instance">
26-
<div class="container is-fluid">
26+
<div class="container-fluid">
2727
<!-- latest sales -->
2828
<LazyCarouselTypeLatestSales />
2929

components/swap/layout/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<section class="container is-fluid flex flex-col">
2+
<section class="container-fluid flex flex-col">
33
<div class="flex my-14 flex-wrap gap-10 justify-between">
44
<slot name="title" />
55

components/swap/review.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
<hr class="m-0">
7373

7474
<div
75-
class="container is-fluid flex flex-col gap-6 justify-between items-center !my-6 md:flex-row md:my-[3.5rem]"
75+
class="container-fluid flex flex-col gap-6 justify-between items-center !my-6 md:flex-row md:my-[3.5rem]"
7676
>
7777
<div class="w-[300px]">
7878
<TradeExpirationSelector

layouts/default.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div class="min-h-full flex flex-col overflow-hidden">
33
<Navbar />
44
<main class="flex-grow py-8">
5-
<div class="container is-fluid">
5+
<div class="container-fluid">
66
<Error
77
v-if="$nuxt.isOffline"
88
:has-img="false"

0 commit comments

Comments
 (0)