Skip to content

Commit 0807f41

Browse files
author
Alban Bailly
committed
mobile adjustments
1 parent 6c12dee commit 0807f41

File tree

4 files changed

+20
-6
lines changed

4 files changed

+20
-6
lines changed

themes/dlc/layouts/_default/guides.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ <h3 class="mt-0 text-2xl"><a href="{{ .Params.external_url }}" class="text-black
1818
</article>
1919
{{ end }}
2020
</div>
21-
<div class="text-center mb-12">
21+
<div class="text-center mt-4 md:mt-0 md:mb-12">
2222
<a href="https://linode.com/docs/platform" target="_blank" class="btn mx-auto">View All Platform Guides</a>
2323
</div>
2424
</div>
2525

2626
<div class="flex flex-wrap my-8 -mx-4">
27-
<article class="w-full md:w-1/2 px-4 mb-4 md:mb-8" style="height: 300px">
28-
<div class="p-8 h-full">
27+
<article class="w-full md:w-1/2 px-4 mb-4 md:mb-8">
28+
<div class="md:p-8 h-full">
2929
<div class="cloud flex justify-center md:justify-end items-center">
3030
{{ partial "0_svgs/cloud.svg" }}
3131
</div>

themes/dlc/layouts/_default/libraries-tools.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ <h2>Linode CLI</h2>
1414
</div>
1515
</div>
1616

17-
<div class="flex flex-wrap mb-8 -mx-4">
17+
<div class="flex flex-wrap md:mb-8 -mx-4">
1818

1919
<div class="w-full sm:w-1/4 md:w-1/5 px-4">
2020
<div class="button-group filters-group py-2 md:py-6 md:mt-12">
@@ -37,7 +37,7 @@ <h4 class="uppercase mb-4 w-full">Language</h4>
3737

3838
<div class="w-full sm:w-3/4 md:w-4/5 px-4">
3939
<h2>Libraries</h2>
40-
<div class="flex flex-wrap my-8 -mx-4 grid">
40+
<div class="flex flex-wrap my-4 md:my-8 -mx-4 grid">
4141
<div id="noResultsContainer" class="visually-hidden">
4242
<div>No results</div>
4343
</div>

themes/dlc/layouts/partials/2_molecules/code-box.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div class="code-box bg-d-beige rounded my-8">
1+
<div class="code-box bg-d-beige rounded md:my-8">
22
<div class="code-box-header border-white flex justify-start py-4 px-6">
33
<span class="code-box-circle circle-red"></span>
44
<span class="code-box-circle circle-yellow"></span>
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
.cloud {
2+
height: 150px
3+
}
4+
5+
.cloud svg {
6+
height: 100%;
7+
width: 100%;
8+
}
9+
10+
@screen md {
11+
.cloud {
12+
height: 300px
13+
}
14+
}

0 commit comments

Comments
 (0)