fix: scroll bar at right edge, content centered
This commit is contained in:
parent
e1142414f1
commit
55e1c305ba
@ -111,7 +111,8 @@ export default function ProjectSettings({ project, onUpdated }: Props) {
|
||||
};
|
||||
|
||||
return (
|
||||
<div className="max-w-2xl mx-auto p-6 pb-20 space-y-6 overflow-y-auto h-full">
|
||||
<div className="h-full overflow-y-auto">
|
||||
<div className="max-w-2xl mx-auto p-6 pb-20 space-y-6">
|
||||
<h2 className="text-lg font-bold">Настройки проекта</h2>
|
||||
|
||||
<div>
|
||||
@ -321,6 +322,7 @@ export default function ProjectSettings({ project, onUpdated }: Props) {
|
||||
</button>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user