Skip to content

Commit

Permalink
chore: little modification on wifi menu style
Browse files Browse the repository at this point in the history
  • Loading branch information
Renovamen committed May 11, 2021
1 parent 004daae commit 0b0892f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/menus/AppleMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default function AppleMenu({

return (
<div
className="fixed top-6 left-4 w-56 bg-gray bg-gray-200 bg-opacity-90 blur rounded-b-lg"
className="fixed top-6 left-4 w-56 bg-gray-200 bg-opacity-90 blur rounded-b-lg shadow-2xl"
ref={ref}
>
<MenuItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/components/menus/WifiMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class WifiMenu extends Component {
render() {
return (
<div
className="fixed w-80 max-w-full top-8 right-0 sm:right-2 z-50 p-2 flex gap-2 bg-white bg-opacity-40 blur rounded-2xl text-black shadow-2xl"
className="fixed w-80 max-w-full top-8 right-0 sm:right-2 px-2 py-0.5 flex gap-2 bg-gray-200 bg-opacity-90 blur rounded-lg text-black shadow-2xl"
ref={this.wifiRef}
>
<div className="w-4/5 p-2 font-medium">Wi-Fi</div>
Expand Down
4 changes: 2 additions & 2 deletions src/styles/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -331,13 +331,13 @@ body:not(pre) {

/* The slider */
.slider-toggle {
@apply bg-gray-300;
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #ccc;
-webkit-transition: .4s;
transition: .4s;
}
Expand Down Expand Up @@ -375,4 +375,4 @@ input:checked + .slider-toggle:before {

.slider-toggle.round:before {
border-radius: 50%;
}
}

0 comments on commit 0b0892f

Please sign in to comment.