diff --git a/CHANGELOG.md b/CHANGELOG.md index 19f49279..c19c2783 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,11 +6,12 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) ### Features - ### Enhancements ### Bug Fixes +- Remove text in badge to make it compatible with small screen ([#509](https://github.com/opensearch-project/dashboards-assistant/pull/509)) + ### Infrastructure ### Documentation diff --git a/public/components/incontext_insight/index.scss b/public/components/incontext_insight/index.scss index b821ba15..8f528e3d 100644 --- a/public/components/incontext_insight/index.scss +++ b/public/components/incontext_insight/index.scss @@ -44,12 +44,11 @@ margin: 0 -2px -5px -5px; .summary-beta-badge { - margin-left: 8px; - } - - .summary_badge_icon { - filter: brightness(100); - height: 24px; + margin-left: 4px; + cursor: pointer; + .euiBetaBadge__icon { + filter: brightness(100); + } } } diff --git a/public/components/incontext_insight/index.tsx b/public/components/incontext_insight/index.tsx index c5a0eca2..2eb5acf5 100644 --- a/public/components/incontext_insight/index.tsx +++ b/public/components/incontext_insight/index.tsx @@ -289,22 +289,10 @@ export const IncontextInsight = ({ ref={anchorButton} > - - {title} - - - } + iconType={getLogoIcon('gradient')} />