]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-19613 Project Information Flag Message take the full width
authorMathieu Suen <mathieu.suen@sonarsource.com>
Fri, 23 Jun 2023 16:04:52 +0000 (18:04 +0200)
committersonartech <sonartech@sonarsource.com>
Mon, 26 Jun 2023 20:03:55 +0000 (20:03 +0000)
server/sonar-web/src/main/js/apps/projectInformation/badges/ProjectBadges.tsx
server/sonar-web/src/main/js/apps/projectInformation/projectRegulatoryReport/RegulatoryReport.tsx

index f87f66623518e3291c61826e7c1d632aa74d0349..165fe8eccb7930fdce0b696d1c511cc888e5e4bd 100644 (file)
@@ -173,7 +173,7 @@ export default function ProjectBadges(props: ProjectBadgesProps) {
         )}
       </DeferredSpinner>
 
-      <FlagMessage variant="warning">
+      <FlagMessage className="sw-w-full" variant="warning">
         <p>
           {translate('overview.badges.leak_warning')}
           {canRenew && (
index 0a3da5446f4a5c2e11c34000b48731388cc1d7d5..9975944fcbaa032f370f5c48ca76feb12fd69f7f 100644 (file)
@@ -135,7 +135,7 @@ export default function RegulatoryReport({ component, branchLike }: Props) {
               />
             </FormField>
           </div>
-          <FlagMessage className="sw-mb-4" variant="info">
+          <FlagMessage className="sw-mb-4 sw-w-full" variant="info">
             {translate('regulatory_page.available_branches_info.only_keep_when_inactive')}
             <FormattedMessage
               id="regulatory_page.available_branches_info.more_info"