mirror of
https://github.com/Xevion/rdap.git
synced 2025-12-11 14:08:20 -06:00
Remove card classes, improve padding/margin spacing, styling general
This commit is contained in:
@@ -17,7 +17,7 @@ const Property: FunctionComponent<PropertyProps> = ({
|
|||||||
}) => {
|
}) => {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<dt className={titleClass}>{title}:</dt>
|
<dt className={classNames("font-medium", titleClass)}>{title}:</dt>
|
||||||
<dd className={classNames("mt-2 mb-2 ml-6", valueClass)}>{children}</dd>
|
<dd className={classNames("mt-2 mb-2 ml-6", valueClass)}>{children}</dd>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -11,11 +11,12 @@ export type DomainProps = {
|
|||||||
|
|
||||||
const DomainCard: FunctionComponent<DomainProps> = ({ data }: DomainProps) => {
|
const DomainCard: FunctionComponent<DomainProps> = ({ data }: DomainProps) => {
|
||||||
return (
|
return (
|
||||||
<div className="card">
|
<div className="mb-4 bg-zinc-800">
|
||||||
<div className="card-header">
|
<div className="bg-zinc-700 p-2 pl-5">
|
||||||
{data.ldhName ?? data.unicodeName} ({data.handle})
|
<span className="font-mono">{data.ldhName ?? data.unicodeName}</span> (
|
||||||
|
{data.handle})
|
||||||
</div>
|
</div>
|
||||||
<div className="card-body">
|
<div className="p-2 px-4">
|
||||||
<dl>
|
<dl>
|
||||||
{data.unicodeName != undefined ? (
|
{data.unicodeName != undefined ? (
|
||||||
<Property title="Unicode Name">{data.unicodeName}</Property>
|
<Property title="Unicode Name">{data.unicodeName}</Property>
|
||||||
|
|||||||
@@ -28,11 +28,9 @@ const Generic: FunctionComponent<ObjectProps> = ({ data }: ObjectProps) => {
|
|||||||
case "nameserver":
|
case "nameserver":
|
||||||
default:
|
default:
|
||||||
return (
|
return (
|
||||||
<div className="card my-2">
|
<div className="my-2">
|
||||||
<div className="card-header">
|
|
||||||
Not implemented. (<pre>{data.objectClassName ?? "null"}</pre>)
|
Not implemented. (<pre>{data.objectClassName ?? "null"}</pre>)
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -14,16 +14,6 @@ body {
|
|||||||
@apply bg-zinc-900 text-white;
|
@apply bg-zinc-900 text-white;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card {
|
|
||||||
@apply bg-zinc-800 mb-4;
|
|
||||||
.card-header {
|
|
||||||
@apply bg-zinc-700;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.navbar {
|
|
||||||
@apply bg-zinc-850;
|
|
||||||
}
|
|
||||||
|
|
||||||
dl {
|
dl {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user