mirror of
https://github.com/stackblitz/bolt.new
synced 2025-02-06 04:48:04 +00:00
ui: Small Style Update
update to the settings style
This commit is contained in:
parent
5615cc1312
commit
2d1c19ba9c
@ -257,7 +257,7 @@ export const Settings = ({ open, onClose }: SettingsProps) => {
|
|||||||
Export All Chats
|
Export All Chats
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<div className="bg-red-500 text-white rounded-lg p-4 mb-4">
|
<div className="text-white rounded-lg p-4 mb-4">
|
||||||
<h4 className="font-semibold">Danger Area</h4>
|
<h4 className="font-semibold">Danger Area</h4>
|
||||||
<p className="mb-2">This action cannot be undone!</p>
|
<p className="mb-2">This action cannot be undone!</p>
|
||||||
<button
|
<button
|
||||||
@ -275,14 +275,16 @@ export const Settings = ({ open, onClose }: SettingsProps) => {
|
|||||||
)}
|
)}
|
||||||
{activeTab === 'providers' && (
|
{activeTab === 'providers' && (
|
||||||
<div className="p-4">
|
<div className="p-4">
|
||||||
<h3 className="text-lg font-medium text-white mb-4">Providers</h3>
|
<div className="flex items-center justify-between mb-4">
|
||||||
|
<h3 className="text-lg font-medium text-white">Providers</h3>
|
||||||
<input
|
<input
|
||||||
type="text"
|
type="text"
|
||||||
placeholder="Search providers..."
|
placeholder="Search providers..."
|
||||||
value={searchTerm}
|
value={searchTerm}
|
||||||
onChange={(e) => setSearchTerm(e.target.value)}
|
onChange={(e) => setSearchTerm(e.target.value)}
|
||||||
className="mb-4 p-2 rounded border border-gray-300 w-full"
|
className="mb-4 p-2 rounded border border-gray-300"
|
||||||
/>
|
/>
|
||||||
|
</div>
|
||||||
{filteredProviders.map((provider) => (
|
{filteredProviders.map((provider) => (
|
||||||
<div
|
<div
|
||||||
key={provider.name}
|
key={provider.name}
|
||||||
@ -305,7 +307,6 @@ export const Settings = ({ open, onClose }: SettingsProps) => {
|
|||||||
></div>
|
></div>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Base URL input for configurable providers */}
|
{/* Base URL input for configurable providers */}
|
||||||
{URL_CONFIGURABLE_PROVIDERS.includes(provider.name) && provider.isEnabled && (
|
{URL_CONFIGURABLE_PROVIDERS.includes(provider.name) && provider.isEnabled && (
|
||||||
<div className="mt-2">
|
<div className="mt-2">
|
||||||
|
Loading…
Reference in New Issue
Block a user