aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/app
diff options
context:
space:
mode:
authorJeremy Davis <jeremy.davis@sonarsource.com>2023-03-27 18:04:18 +0200
committersonartech <sonartech@sonarsource.com>2023-03-27 20:03:03 +0000
commitbdce6ddc163ff04e011b7d236f377f2df135d05f (patch)
tree44ac27490180c29a83121b8bb1427cc138d281a2 /server/sonar-web/src/main/js/app
parent36c31f9ae8054d3b68cde1fb4a2940231f27f572 (diff)
downloadsonarqube-bdce6ddc163ff04e011b7d236f377f2df135d05f.tar.gz
sonarqube-bdce6ddc163ff04e011b7d236f377f2df135d05f.zip
SONAR-18776 Fix padding between branch selector and menu
Diffstat (limited to 'server/sonar-web/src/main/js/app')
-rw-r--r--server/sonar-web/src/main/js/app/components/nav/component/Menu.css30
-rw-r--r--server/sonar-web/src/main/js/app/components/nav/component/Menu.tsx3
2 files changed, 1 insertions, 32 deletions
diff --git a/server/sonar-web/src/main/js/app/components/nav/component/Menu.css b/server/sonar-web/src/main/js/app/components/nav/component/Menu.css
deleted file mode 100644
index 31b3c9ef721..00000000000
--- a/server/sonar-web/src/main/js/app/components/nav/component/Menu.css
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * SonarQube
- * Copyright (C) 2009-2023 SonarSource SA
- * mailto:info AT sonarsource DOT com
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this program; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- */
-.navbar-tabs > li > .show-project-info-button {
- color: var(--primary) !important;
- border-bottom-width: 1px;
-}
-
-.navbar-tabs > li > .disabled-link,
-.navbar-tabs > li > .disabled-link:hover {
- color: var(--gray71);
- cursor: default;
- border-bottom-color: transparent;
-}
diff --git a/server/sonar-web/src/main/js/app/components/nav/component/Menu.tsx b/server/sonar-web/src/main/js/app/components/nav/component/Menu.tsx
index 9f2c9475438..203ca48f86d 100644
--- a/server/sonar-web/src/main/js/app/components/nav/component/Menu.tsx
+++ b/server/sonar-web/src/main/js/app/components/nav/component/Menu.tsx
@@ -37,7 +37,6 @@ import { Component, Dict, Extension } from '../../../../types/types';
import withAvailableFeatures, {
WithAvailableFeaturesProps,
} from '../../available-features/withAvailableFeatures';
-import './Menu.css';
const SETTINGS_URLS = [
'/project/admin',
@@ -614,7 +613,7 @@ export class Menu extends React.PureComponent<Props> {
render() {
return (
- <div className="sw-flex sw-justify-between sw-pt-3 it__navbar-tabs">
+ <div className="sw-flex sw-justify-between sw-pt-4 it__navbar-tabs">
<NavBarTabs>
{this.renderDashboardLink()}
{this.renderBreakdownLink()}