Skip to content

Commit

Permalink
fixed Issue fossology#268
Browse files Browse the repository at this point in the history
  • Loading branch information
MananAgr2003 committed Dec 19, 2022
1 parent 0554eb8 commit e09aa85
Show file tree
Hide file tree
Showing 7 changed files with 2,173 additions and 2,360 deletions.
6 changes: 6 additions & 0 deletions src/components/Footer/index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
@media only screen and (max-width: 550px) {
#footer {
max-width: 102vw;
min-width: 102vw;
}
}
3 changes: 3 additions & 0 deletions src/components/Footer/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ import React, { useState, useEffect } from "react";
import { getFossologyVersion } from "services/info";
import { getSessionStorage, setSessionStorage } from "shared/storageHelper";

// custom css
import "./index.css";

const Footer = () => {
const [version, setVersion] = useState(
getSessionStorage("fossologyVersion") || null
Expand Down
8 changes: 8 additions & 0 deletions src/components/Header/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,11 @@
display: flex;
gap: 10px;
}


@media only screen and (max-width : 550px) {
#navbar{
min-width: 102vw;
}

}
1 change: 1 addition & 0 deletions src/components/Header/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ const Header = () => {
expand="lg"
className="bg-primary-color py-0 pl-0 text-white"
sticky="top"
id="navbar"
>
<Navbar.Brand as={Link} to={routes.home} className="py-0">
<Image
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Home/Features.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const Features = () => {
{
id: 1,
img: upload,
heading: "Upload and Scan files",
heading: "Upload and Scan Files",
description:
"Upload and scan files into the fossology server and get information.",
},
Expand Down
6 changes: 5 additions & 1 deletion src/styles/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,12 @@ h6 {
@media (max-width: 991px) {
.dropleft .dropdown-menu {
right: unset !important;
left: 3.5em !important;
left: 0em !important;
top: 3.5em !important;
bottom: unset !important;
padding: 1.5rem;


}
#basic-navbar-nav {
padding: 2rem;
Expand Down
Loading

0 comments on commit e09aa85

Please sign in to comment.