Skip to content

Commit

Permalink
updated close icon to bootstrap icon so it appears on mobile devices
Browse files Browse the repository at this point in the history
  • Loading branch information
darylbg committed Sep 10, 2023
1 parent af5ca0f commit b71d21c
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 3 deletions.
12 changes: 12 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"gh-pages": "^6.0.0",
"react": "^18.2.0",
"react-bootstrap": "^2.8.0",
"react-bootstrap-icons": "^1.10.3",
"react-dom": "^18.2.0",
"react-scripts": "5.0.1",
"react-webcam": "^7.1.1",
Expand Down
3 changes: 2 additions & 1 deletion src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@ import Webcam from "react-webcam";
import YoutubeEmbedVideo from "youtube-embed-video";
import ViewMenu from "./components/ViewMenu";
import Dropdown from "react-bootstrap/Dropdown";
import { X } from "react-bootstrap-icons";
import {
MoreHorizontal,
MicOff,
X,
// X,
} from "feather-icons-react/build/IconComponents";
import "split-pane-react/esm/themes/default.css";
import "./index.css";
Expand Down
5 changes: 3 additions & 2 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -233,19 +233,20 @@ input:focus-visible {
border-radius: 50%;
margin-left: 5px;
margin-top: 5px;
padding: 0;
}

.btn-box-shadow {
box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.4);
}

.close-sidebar-btn:hover {
.btn-box-shadow:hover {
box-shadow: 1px 6px 10px rgba(0, 0, 0, 0.5);
transition: all ease-in-out 0.2s;
}

.close-sidebar-btn svg {
height: 15px;
font-size: 30px;
}

/* search results */
Expand Down

0 comments on commit b71d21c

Please sign in to comment.