Skip to content

Commit 701ee3d

Browse files
Fixing double border bug at mobile
1 parent f3cd89d commit 701ee3d

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

docs-starlight/src/components/Header.astro

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ try {
3838
<div class="sl-flex justify-between items-center py-5 px-5 xl:px-20 border-b border-stroke-dark">
3939
<!-- Logo -->
4040
<a href="/" class="hover:cursor-pointer">
41-
<Image
41+
<Image
4242
src={TerragruntLogo}
4343
alt="Terragrunt Logo"
4444
height={40}
@@ -47,7 +47,7 @@ try {
4747
</a>
4848
<!-- Right Menu -->
4949
<div class="flex items-center gap-6">
50-
<div class="hidden lg:flex items-center gap-6 border-r border-stroke-dark pr-6">
50+
<div class="hidden lg:flex items-center gap-6 border-r border-stroke-dark pr-6">
5151
<!-- Socials -->
5252
<div class="flex items-center gap-4 text-gray-1">
5353
<a href="https://github.com/gruntwork-io/terragrunt" class="flex items-center gap-2 hover:cursor-pointer hover:text-[var(--sl-color-gray-1)] transition .25s ease-in-out" target="_blank" rel="noopener noreferrer">
@@ -81,7 +81,7 @@ try {
8181
Automate your pipeline
8282
</a>
8383
<a href="#" class="flex md:hidden secondary-button !p-3">
84-
<Image
84+
<Image
8585
src={PipelineIcon}
8686
alt="Pipeline Icon"
8787
width={20}
@@ -93,13 +93,13 @@ try {
9393
</a>
9494
<button class="menu-icon hover:cursor-pointer">
9595
<div class="flex items-center">
96-
<svg data-slot="icon" class="text-white w-6 h-6" fill="none" stroke-width="1.5" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" aria-hidden="true">
96+
<svg data-slot="icon" class="text-white w-6 h-6" fill="none" stroke-width="1.5" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" aria-hidden="true">
9797
<path stroke-linecap="round" stroke-linejoin="round" d="M3.75 9h16.5m-16.5 6.75h16.5" />
9898
</svg>
9999
</div>
100100
</button>
101101
<a href="#" class="flex md:hidden primary-button !p-3">
102-
<Image
102+
<Image
103103
src={HeadphonesIcon}
104104
alt="Headphones Icon"
105105
width={20}
@@ -111,7 +111,7 @@ try {
111111
</div>
112112
</div>
113113
<div class="block md:hidden justify-center bg-bg-dark px-5 py-2.5 border-b border-stroke-dark">
114-
<div class="flex items-center border border-white/10 bg-white/5 rounded-md px-3">
114+
<div class="flex items-center">
115115
{shouldRenderSearch && <Search {...Astro.props} />}
116116
</div>
117117
</div>
@@ -120,7 +120,7 @@ try {
120120
<style>
121121
.searchbar {
122122
display: flex;
123-
align-items: center;
123+
align-items: center;
124124
justify-content: start;
125125
gap: 8px;
126126
width: 280px;

docs-starlight/src/components/dv-Navbar.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ try {
117117
</div>
118118
</div>
119119
<div class="block md:hidden justify-center bg-bg-dark px-5 py-2.5 border-b border-stroke-dark">
120-
<div class="flex items-center border border-white/10 bg-white/5 rounded-md px-3">
120+
<div class="flex items-center">
121121
{shouldRenderSearch && <Search {...Astro.props} />}
122122
</div>
123123
</div>

0 commit comments

Comments
 (0)