]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-18943 Project menu height changing on dropdown select
authorstanislavh <stanislav.honcharov@sonarsource.com>
Fri, 7 Jul 2023 14:31:28 +0000 (16:31 +0200)
committersonartech <sonartech@sonarsource.com>
Mon, 10 Jul 2023 20:02:56 +0000 (20:02 +0000)
server/sonar-web/design-system/src/components/FlagMessage.tsx
server/sonar-web/src/main/js/app/components/nav/component/ComponentNav.tsx

index 5823faae568195a5d3c079d760e239026531cd05..11cfda77f71fcf3507e8d62eec790d0770b398a1 100644 (file)
@@ -86,6 +86,7 @@ export const StyledFlag = styled.div<{
   ${tw`sw-inline-flex`}
   ${tw`sw-min-h-10`}
   ${tw`sw-rounded-1`}
+  ${tw`sw-box-border`}
   border: ${({ borderColor }) => themeBorder('default', borderColor)};
   background-color: ${themeColor('flagMessageBackground')};
 
index 361f3d68d437acb6b10c986d877adb117fa9ff10..3f1db236c3b214a13e1f8c97cddbf948d3b0d783 100644 (file)
@@ -87,7 +87,7 @@ export default function ComponentNav(props: ComponentNavProps) {
   return (
     <>
       <TopBar id="context-navigation" aria-label={translate('qualifier', component.qualifier)}>
-        <div className="sw-flex sw-justify-between">
+        <div className="sw-min-h-10 sw-flex sw-justify-between">
           <Header
             branchLikes={branchLikes}
             component={component}