From: stanislavh Date: Mon, 18 Sep 2023 12:09:19 +0000 (+0200) Subject: SONAR-20297 Adjust styles for CCT tour component X-Git-Tag: 10.3.0.82913~380 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f86d0014455522e1c0e98eadec4a8e6fbc400297;p=sonarqube.git SONAR-20297 Adjust styles for CCT tour component --- diff --git a/server/sonar-web/design-system/src/components/SpotlightTour.tsx b/server/sonar-web/design-system/src/components/SpotlightTour.tsx index 36f47f1a9fd..6e162316776 100644 --- a/server/sonar-web/design-system/src/components/SpotlightTour.tsx +++ b/server/sonar-web/design-system/src/components/SpotlightTour.tsx @@ -117,7 +117,7 @@ function TooltipComponent({ return ( - {step.title} + {step.title} + tooltipProps: React.PropsWithChildren, ) => } {...otherProps} /> @@ -208,6 +208,7 @@ export function SpotlightTour(props: SpotlightTourProps) { const StyledPopupWrapper = styled(PopupWrapper)<{ placement: Placement }>` background-color: ${themeColor('spotlightBackgroundColor')}; ${tw`sw-overflow-visible`}; + ${tw`sw-rounded-1`}; ${({ placement }) => getStyledPopupWrapperMargin(placement)}; `; @@ -273,7 +274,9 @@ const SpotlightArrow = styled.div<{ rotate: string }>` background-color: ${themeColor('spotlightPulseBackground')}; left: 100%; top: calc(50% - calc(0.125rem / 2)); - transition: margin 0.3s, left 0.3s; + transition: + margin 0.3s, + left 0.3s; content: ''; } `; diff --git a/sonar-core/src/main/resources/org/sonar/l10n/core.properties b/sonar-core/src/main/resources/org/sonar/l10n/core.properties index a92d413d8ce..a7e098f1943 100644 --- a/sonar-core/src/main/resources/org/sonar/l10n/core.properties +++ b/sonar-core/src/main/resources/org/sonar/l10n/core.properties @@ -5018,7 +5018,7 @@ component_report.unsubscribe_success=Subscription successfully canceled. You won # #------------------------------------------------------------------------------ guiding.issue_list.1.title=Introducing Clean Code Attributes -guiding.issue_list.1.content.1=Clean Code attributes are the characteristic that your code must have to be considered Clean Code. +guiding.issue_list.1.content.1=Clean Code attributes are the characteristics that your code must have to be considered Clean Code. guiding.issue_list.1.content.2=You can now filter by these attributes to evaluate why your code is breaking away from being clean. guiding.issue_list.2.title=Introducing Software Qualities guiding.issue_list.2.content.1=A software quality is a characteristic of software that contributes to its lasting value.