mirror of
https://github.com/komodorio/helm-dashboard.git
synced 2026-03-24 03:38:04 +00:00
Fixed AddRepositoryModal borders and margin (#631)
This commit is contained in:
@@ -80,7 +80,7 @@ function AddRepositoryModal({ isOpen, onClose }: AddRepositoryModalProps) {
|
|||||||
isOpen={isOpen}
|
isOpen={isOpen}
|
||||||
onClose={onClose}
|
onClose={onClose}
|
||||||
bottomContent={
|
bottomContent={
|
||||||
<div className="flex justify-end gap-2 rounded-b border-t border-gray-200 p-6 dark:border-gray-600">
|
<div className="flex justify-end gap-2 rounded-b border-t border-gray-200 p-6">
|
||||||
<button
|
<button
|
||||||
data-cy="add-chart-repository-button"
|
data-cy="add-chart-repository-button"
|
||||||
className="flex cursor-pointer items-center rounded-lg bg-primary px-3 py-1.5 text-center text-base font-medium text-white hover:bg-add-repo focus:ring-4 focus:ring-blue-300 focus:outline-hidden disabled:bg-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"
|
className="flex cursor-pointer items-center rounded-lg bg-primary px-3 py-1.5 text-center text-base font-medium text-white hover:bg-add-repo focus:ring-4 focus:ring-blue-300 focus:outline-hidden disabled:bg-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"
|
||||||
@@ -131,7 +131,7 @@ function AddRepositoryModal({ isOpen, onClose }: AddRepositoryModalProps) {
|
|||||||
/>
|
/>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
<div className="flex gap-x-3">
|
<div className="mt-6 flex gap-x-3">
|
||||||
<label className="flex-1" htmlFor="username">
|
<label className="flex-1" htmlFor="username">
|
||||||
<div className="mb-2 text-sm">Username</div>
|
<div className="mb-2 text-sm">Username</div>
|
||||||
<input
|
<input
|
||||||
|
|||||||
@@ -93,7 +93,7 @@ const Modal = ({
|
|||||||
} ${containerClassNames ?? ""}`}
|
} ${containerClassNames ?? ""}`}
|
||||||
>
|
>
|
||||||
{title && (
|
{title && (
|
||||||
<div className="flex items-start justify-between rounded-t border-b p-4">
|
<div className="flex items-start justify-between rounded-t border-b border-gray-200 p-4">
|
||||||
{getTitle(title)}
|
{getTitle(title)}
|
||||||
{onClose ? (
|
{onClose ? (
|
||||||
<button
|
<button
|
||||||
|
|||||||
Reference in New Issue
Block a user