mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
style: adjust spacing and styling for CardSelect option groups and EvaluationLogList component
This commit is contained in:
@@ -68,11 +68,21 @@ const CardSelect: FunctionComponent<ComponentProps> = (
|
||||
<div role="radiogroup" aria-label="Select an option">
|
||||
{groups.map((group: RenderGroup, groupIndex: number) => {
|
||||
return (
|
||||
<div key={groupIndex} className={groupIndex > 0 ? "mt-6" : ""}>
|
||||
<div key={groupIndex} className={groupIndex > 0 ? "mt-8" : ""}>
|
||||
{group.label && (
|
||||
<h3 className="text-sm font-semibold text-gray-500 uppercase tracking-wider mb-3">
|
||||
{group.label}
|
||||
</h3>
|
||||
<div className="relative mb-4">
|
||||
<div
|
||||
className="absolute inset-0 flex items-center"
|
||||
aria-hidden="true"
|
||||
>
|
||||
<div className="w-full border-t border-gray-200"></div>
|
||||
</div>
|
||||
<div className="relative flex justify-start">
|
||||
<span className="bg-white pr-3 text-xs font-semibold uppercase tracking-wider text-gray-400">
|
||||
{group.label}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
<div className="grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3">
|
||||
{group.options.map((option: CardSelectOption) => {
|
||||
|
||||
@@ -396,7 +396,7 @@ const EvaluationLogList: FunctionComponent<ComponentProps> = (
|
||||
};
|
||||
|
||||
return (
|
||||
<div className="space-y-4">
|
||||
<div className="mt-6 space-y-4">
|
||||
<div className="text-base font-semibold text-gray-900">
|
||||
{getSummaryTitle}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user