Ui improvement as per feedback (#1727)

* Ui improvement as per feedback

* miner fix
This commit is contained in:
Shailesh Parmar 2021-12-13 22:31:15 +05:30 committed by GitHub
parent b620860be2
commit 52571efdc9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 10 additions and 8 deletions

View File

@ -96,7 +96,7 @@ const getNoLineageDataPlaceholder = () => {
<div className="tw-mt-4 tw-ml-4 tw-flex tw-justify-center tw-font-medium tw-items-center tw-border tw-border-main tw-rounded-md tw-p-8"> <div className="tw-mt-4 tw-ml-4 tw-flex tw-justify-center tw-font-medium tw-items-center tw-border tw-border-main tw-rounded-md tw-p-8">
<span> <span>
Lineage is currently supported for Airflow. To enable lineage collection Lineage is currently supported for Airflow. To enable lineage collection
from Airflow, Please follow the documentation from Airflow, please follow the documentation
</span> </span>
<Link <Link
className="tw-ml-1" className="tw-ml-1"
@ -105,7 +105,7 @@ const getNoLineageDataPlaceholder = () => {
pathname: pathname:
'https://docs.open-metadata.org/install/metadata-ingestion/airflow/configure-airflow-lineage', 'https://docs.open-metadata.org/install/metadata-ingestion/airflow/configure-airflow-lineage',
}}> }}>
here here.
</Link> </Link>
</div> </div>
); );

View File

@ -220,7 +220,7 @@ const TableProfiler = ({ tableProfiles, columns }: Props) => {
to={{ to={{
pathname: 'https://docs.open-metadata.org/connectors', pathname: 'https://docs.open-metadata.org/connectors',
}}> }}>
here here.
</Link> </Link>
</div> </div>
)} )}

View File

@ -17,7 +17,7 @@ export const cardStyle = {
active: 'tw-border-primary', active: 'tw-border-primary',
header: { header: {
base: 'tw-flex tw-px-5 tw-py-3 tw-cursor-pointer tw-justify-between tw-items-center', base: 'tw-flex tw-px-5 tw-py-3 tw-cursor-pointer tw-justify-between tw-items-center',
default: 'tw-bg-tag', default: 'tw-bg-badge',
active: 'tw-bg-primary tw-rounded-t-md tw-text-white', active: 'tw-bg-primary tw-rounded-t-md tw-text-white',
title: 'tw-text-base tw-mb-0', title: 'tw-text-base tw-mb-0',
description: 'tw-font-medium tw-pr-2', description: 'tw-font-medium tw-pr-2',

View File

@ -130,9 +130,11 @@ const ErrorPlaceHolderES = ({ type, errorMessage, query = '' }: Props) => {
return ( return (
<div className="tw-mt-10 tw-text-base tw-font-medium"> <div className="tw-mt-10 tw-text-base tw-font-medium">
<p className="tw-text-center tw-text-lg tw-font-bold tw-mb-1 tw-text-primary"> {type !== 'noData' && (
{`Hi, ${getUserDisplayName()}!`} <p className="tw-text-center tw-text-lg tw-font-bold tw-mb-1 tw-text-primary">
</p> {`Hi, ${getUserDisplayName()}!`}
</p>
)}
{type === 'noData' && noRecordForES()} {type === 'noData' && noRecordForES()}
{type === 'error' && elasticSearchError()} {type === 'error' && elasticSearchError()}
</div> </div>

View File

@ -71,7 +71,7 @@
@apply tw-border tw-border-main tw-leading-normal; @apply tw-border tw-border-main tw-leading-normal;
} }
.tableHead-cell { .tableHead-cell {
@apply tw-py-3 tw-px-6 tw-text-left tw-font-normal tw-whitespace-nowrap; @apply tw-py-3 tw-px-6 tw-font-medium tw-text-left tw-whitespace-nowrap;
} }
.tableBody { .tableBody {
@apply tw-text-grey-body; @apply tw-text-grey-body;