diff --git a/QandA/frontend/src/Header.css b/QandA/frontend/src/Header.css new file mode 100644 index 0000000..b23cdda --- /dev/null +++ b/QandA/frontend/src/Header.css @@ -0,0 +1,13 @@ +.container { + position: fixed; + box-sizing: border-box; + top: 0; + width: 100%; + display: flex; + align-items: center; + justify-content: space-between; + padding: 10px 20px; + background-color: #fff; + border-bottom: 1px solid #e3e2e2; + box-shadow: 0 3px 7px 0 rgba(110, 112, 114, 0.21); +} \ No newline at end of file diff --git a/QandA/frontend/src/Header.tsx b/QandA/frontend/src/Header.tsx index 7f88f95..7db8761 100644 --- a/QandA/frontend/src/Header.tsx +++ b/QandA/frontend/src/Header.tsx @@ -1,5 +1,6 @@ import React from 'react'; import { UserIcon } from './Icons'; +import './Header.css'; export const Header = () => { const handleSearchInputChange = (e: React.ChangeEvent) => { @@ -7,7 +8,7 @@ export const Header = () => { }; return ( -
+
Q & A