Skip to content

Commit

Permalink
Merge pull request #28 from tunglambg131003/development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
tunglambg131003 authored Jan 26, 2024
2 parents 5667065 + 0ff9a08 commit 9c1ed81
Show file tree
Hide file tree
Showing 3 changed files with 73 additions and 101 deletions.
99 changes: 0 additions & 99 deletions frontend/src/Components/ExternalNavBar.js

This file was deleted.

9 changes: 7 additions & 2 deletions frontend/src/Pages/SearchPage.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
import React from "react";
import SearchBar from "../Components/SearchBar";
import ExNavbar from "../Components/ExternalNavBar";
import Navbar from "../Components/Navbar";
import Footer from "../Components/Footer";
import {useState, useEffect} from "react";
import "../Styles/ScrollUp.css";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import { faAngleUp } from "@fortawesome/free-solid-svg-icons";
import About from "../Components/About";
import Contact from "../Components/Contact";


function SearchPage() {
const [goUp, setGoUp] = useState(false);
Expand All @@ -30,8 +33,10 @@ function SearchPage() {

return(
<div>
<ExNavbar />
<Navbar />
<SearchBar />
<About/>
<Contact/>
<Footer />
<div
onClick={scrollToTop}
Expand Down
66 changes: 66 additions & 0 deletions frontend/src/Styles/MeddictSearchBar.css
Original file line number Diff line number Diff line change
Expand Up @@ -437,3 +437,69 @@ body {
}
}

@media (max-width: 408px) {
.meddict-search {
width: 100%;
max-width: 390px;
margin: 0 auto;
}

.meddict-search input {
width: 100%;
max-width: 210px;
}

.result-container {
flex-direction: column;
height: auto;
margin-top: 50px;
}

.result-left,
.result-right {
width: 100%;
}

.result-image {
border-radius: 0;
}

.result-card {
max-width: 100%;
}
}

@media (max-width: 400px) {
.meddict-search {
width: 100%;
max-width: 380px;
margin: 0 auto;
}

.meddict-search input {
width: 100%;
max-width: 200px;
}

.result-container {
flex-direction: column;
height: auto;
margin-top: 50px;
}

.result-left,
.result-right {
width: 100%;
}

.result-image {
border-radius: 0;
}

.result-card {
max-width: 100%;
}
}



0 comments on commit 9c1ed81

Please sign in to comment.