Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Update version selector styling

Vasek Mlejnsky30f6370773b6
diff --git a/apps/web/src/components/Navigation/index.tsx b/apps/web/src/components/Navigation/index.tsx
index d4bc1d8ed..1914344f1 100644
--- a/apps/web/src/components/Navigation/index.tsx
+++ b/apps/web/src/components/Navigation/index.tsx
@@ -7,7 +7,7 @@ import React, { useRef, useState } from 'react'
import { useIsInsideMobileNavigation } from '@/components/MobileBurgerMenu'
import { useSectionStore } from '@/components/SectionProvider'
-import { SdkVersionSelect } from '@/components/SDKVersionSelect'
+import { SdkVersionSelect } from '@/components/SdkVersionSelect'
import { NavigationLink } from './NavigationLink'
import { NavigationSubgroup } from './NavigationSubgroup'
import {
@@ -112,7 +112,7 @@ function VersionedNavigationGroup({
return (
<li className={clsx('relative', className)}>
- <div className="pl-2 mb-1 flex items-center justify-between gap-1">
+ <div className="pl-2 mb-1 flex flex-col items-start justify-between gap-1">
<motion.h2
layout="position"
className="text-2xs font-medium text-white"
diff --git a/apps/web/src/components/SdkVersionSelect.tsx b/apps/web/src/components/SdkVersionSelect.tsx
index ef463cee6..b0314961d 100644
--- a/apps/web/src/components/SdkVersionSelect.tsx
+++ b/apps/web/src/components/SdkVersionSelect.tsx
@@ -4,7 +4,6 @@ export interface Props {
onVersionChange: (version: string) => void
}
-
export function SdkVersionSelect({
selectedVersion,
versions,
@@ -12,7 +11,7 @@ export function SdkVersionSelect({
}: Props) {
return (
<select
- className="text-xs text-brand-400"
+ className="text-xs text-brand-400 bg-transparent cursor-pointer"
value={selectedVersion}
onChange={(e) => {
onVersionChange(e.target.value)