Skip to content

Commit

Permalink
added menu focus
Browse files Browse the repository at this point in the history
  • Loading branch information
edakizak committed Jan 24, 2024
1 parent 0aa7722 commit b353e56
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
5 changes: 4 additions & 1 deletion src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ function App() {
defaultValue: [],
});
const [weather, setWeather] = useState("");
const [selectedLocation, setSelectedLocation] = useState("");
const [selectedLocation, setSelectedLocation] = useLocalStorageState(
"selectedLocation",
{ defaultValue: [] }
);

const isGoodWeather = weather?.isGoodWeather;

Expand Down
4 changes: 0 additions & 4 deletions src/components/list/List.css
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,3 @@
.list_item {
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
.list_item:hover {
color: red;
font-size: medium;
}
10 changes: 7 additions & 3 deletions src/components/locations/Locations.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@
background-color: inherit;
color: #7d7c7c;
}
/* .location-button:hover {
} */
#location-button:hover {
transform: scale(1.2, 1.2);
}
#location-button:focus {
transform: scale(1.2, 1.2);
color: #2a2a2a;
}

0 comments on commit b353e56

Please sign in to comment.