Skip to content

Commit

Permalink
Moved css for tooltip from App.css to index.css. Added a line after i…
Browse files Browse the repository at this point in the history
…mports in headerBar.js for readability.
  • Loading branch information
RBP98 committed Sep 9, 2024
1 parent 0fb498d commit c647841
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 15 deletions.
12 changes: 0 additions & 12 deletions src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,3 @@
to { transform: rotate(360deg); }
}

.headerDiv {
display: flex;
align-items: center;
}

.infoIcon {
margin-left: 10px;
position: relative;
top: 6px;
left: -5px;
}

14 changes: 11 additions & 3 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -204,11 +204,12 @@ body {
}

/*** HeaderBar ***/

.headerDiv {
padding-bottom: 10px;
padding-top: 20px;
border-bottom: 3px double #bdbdbd
border-bottom: 3px double #bdbdbd;
display: flex;
align-items: center;
}

.text-24 {
Expand All @@ -234,6 +235,13 @@ body {
color: #5d5d5d;
}

.infoIcon {
margin-left: 10px;
position: relative;
top: 6px;
left: -5px;
}

/*!*** Auto Complete ***!*/

.monacoWrapper {
Expand Down Expand Up @@ -1041,4 +1049,4 @@ img.tutorialSmallImage {
.minedRulesComponent .identifierContainer .identifierHeader {
width: 100%;
margin: auto;
}
}
1 change: 1 addition & 0 deletions src/ui/headerBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import {webSocketSendMessage} from "../core/coreConstants";
import {hashConst} from "./uiConstants";
import {FaInfoCircle} from "react-icons/fa";
import ReactTooltip from "react-tooltip";

export class HeaderBar extends Component {
render() {
return (
Expand Down

0 comments on commit c647841

Please sign in to comment.