+
maxLen && !displayMoreText
+ ? `${maxHtClass} tw-overflow-hidden`
+ : null,
+ {
+ 'tw-mb-5': displayMoreText,
+ }
+ )}>
+ {enableSeeMoreVariant && markdown.length > MAX_LENGTH && (
+
+
setDisplayMoreText((pre) => !pre)}>
+
+
+
+
+
+ )}
);
};
diff --git a/openmetadata-ui/src/main/resources/ui/src/components/common/table-data-card/TableDataCardBody.tsx b/openmetadata-ui/src/main/resources/ui/src/components/common/table-data-card/TableDataCardBody.tsx
index 1818c17dd8b..8079c356afb 100644
--- a/openmetadata-ui/src/main/resources/ui/src/components/common/table-data-card/TableDataCardBody.tsx
+++ b/openmetadata-ui/src/main/resources/ui/src/components/common/table-data-card/TableDataCardBody.tsx
@@ -62,7 +62,10 @@ const TableDataCardBody: FunctionComponent
= ({
{description.trim() ? (
-
+
) : (
No description added
)}
diff --git a/openmetadata-ui/src/main/resources/ui/src/pages/RolesPage/RolesPage.component.tsx b/openmetadata-ui/src/main/resources/ui/src/pages/RolesPage/RolesPage.component.tsx
index b8c33d54405..a97ff7be3d7 100644
--- a/openmetadata-ui/src/main/resources/ui/src/pages/RolesPage/RolesPage.component.tsx
+++ b/openmetadata-ui/src/main/resources/ui/src/pages/RolesPage/RolesPage.component.tsx
@@ -557,6 +557,7 @@ const RolesPage = () => {
className="tw-mb-3 tw--ml-5"
data-testid="description-container">
{
data-testid="service-description">
{service.description ? (
) : (
diff --git a/openmetadata-ui/src/main/resources/ui/src/styles/tailwind.css b/openmetadata-ui/src/main/resources/ui/src/styles/tailwind.css
index 7e72ec469a5..a5036c6efbb 100644
--- a/openmetadata-ui/src/main/resources/ui/src/styles/tailwind.css
+++ b/openmetadata-ui/src/main/resources/ui/src/styles/tailwind.css
@@ -333,6 +333,10 @@
animation: highlight 3000ms ease-out;
}
+ .rotate-inverse {
+ transform: rotate(180deg);
+ }
+
@keyframes highlight {
0% {
@apply tw-bg-warning-lite;
diff --git a/openmetadata-ui/src/main/resources/ui/src/styles/x-master.css b/openmetadata-ui/src/main/resources/ui/src/styles/x-master.css
index 8049dcf4c9e..b886912e918 100644
--- a/openmetadata-ui/src/main/resources/ui/src/styles/x-master.css
+++ b/openmetadata-ui/src/main/resources/ui/src/styles/x-master.css
@@ -844,3 +844,38 @@ body .profiler-graph .recharts-active-dot circle {
);
pointer-events: none; /* so the text is still selectable */
}
+
+.see-more-blur-white {
+ background: linear-gradient(
+ to top,
+ rgba(255, 255, 255, 1) 10%,
+ rgba(255, 255, 255, 0) 36%
+ );
+ pointer-events: none; /* so the text is still selectable */
+}
+
+.see-more-blur-body {
+ background: linear-gradient(
+ to top,
+ rgba(248, 249, 250, 1) 10%,
+ rgba(255, 255, 255, 0) 36%
+ );
+ pointer-events: none; /* so the text is still selectable */
+}
+
+.see-more-blur {
+ background: linear-gradient(
+ to top,
+ rgba(255, 255, 255, 1) 20%,
+ rgba(255, 255, 255, 0) 42%
+ );
+ pointer-events: none; /* so the text is still selectable */
+}
+.tableBody-row:hover .see-more-blur {
+ background: linear-gradient(
+ to top,
+ rgba(245, 246, 248, 1) 20%,
+ rgba(255, 255, 255, 0) 42%
+ );
+ pointer-events: none; /* so the text is still selectable */
+}
diff --git a/openmetadata-ui/src/main/resources/ui/src/utils/SvgUtils.tsx b/openmetadata-ui/src/main/resources/ui/src/utils/SvgUtils.tsx
index bc0e41c19a0..f1ad94f6e05 100644
--- a/openmetadata-ui/src/main/resources/ui/src/utils/SvgUtils.tsx
+++ b/openmetadata-ui/src/main/resources/ui/src/utils/SvgUtils.tsx
@@ -76,6 +76,7 @@ import IconTrends from '../assets/svg/ic-trends.svg';
import IconUpArrow from '../assets/svg/ic-up-arrow.svg';
import IconVEllipsis from '../assets/svg/ic-v-ellipsis.svg';
import IconWorkflows from '../assets/svg/ic-workflows.svg';
+import IconChevronDown from '../assets/svg/icon-chevron-down.svg';
import IconKey from '../assets/svg/icon-key.svg';
import IconNotNull from '../assets/svg/icon-notnull.svg';
import IconTour from '../assets/svg/icon-tour.svg';
@@ -229,6 +230,7 @@ export const Icons = {
ARROW_DOWN_PRIMARY: 'icon-arrow-down-primary',
ANNOUNCEMENT: 'icon-announcement',
ANNOUNCEMENT_WHITE: 'icon-announcement-white',
+ CHEVRON_DOWN: 'icon-chevron-down',
};
const SVGIcons: FunctionComponent = ({
@@ -660,6 +662,10 @@ const SVGIcons: FunctionComponent = ({
case Icons.ANNOUNCEMENT_WHITE:
IconComponent = IconAnnouncementWhite;
+ break;
+ case Icons.CHEVRON_DOWN:
+ IconComponent = IconChevronDown;
+
break;
default: