Fix dark mode rendering of config form and centered providers grid for wider screens. (#3837)
This commit is contained in:
@@ -6,7 +6,13 @@ import { ProviderDetails } from '../../../api';
|
||||
|
||||
const GridLayout = memo(function GridLayout({ children }: { children: React.ReactNode }) {
|
||||
return (
|
||||
<div className="grid grid-cols-[repeat(auto-fill,_minmax(140px,_1fr))] gap-3 [&_*]:z-20">
|
||||
<div
|
||||
className="grid gap-4 [&_*]:z-20 p-1"
|
||||
style={{
|
||||
gridTemplateColumns: 'repeat(auto-fill, minmax(200px, 200px))',
|
||||
justifyContent: 'start',
|
||||
}}
|
||||
>
|
||||
{children}
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user