Skip to content

Commit 508c978

Browse files
Hover Cusor Changes
- When user hovers on project list item, button, or select it will change the cursor to pointer
1 parent 0e142b2 commit 508c978

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

src/index.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ button {
4848
color: white;
4949
border-radius: 3px;
5050
padding: 5px;
51+
cursor: pointer;
5152
}
5253

5354
button:hover {
@@ -74,6 +75,7 @@ select {
7475
outline: none; /* Remove the focus outline */
7576
min-width: 0;
7677
transition: box-shadow 0.3s ease-in-out;
78+
cursor: pointer;
7779
}
7880

7981
select.error {
@@ -249,6 +251,7 @@ h1,h2,h3,h4,h5,h6 {
249251
background-color: #414141;
250252
display: grid;
251253
grid-template-columns: 1fr 1fr;
254+
cursor: pointer;
252255
}
253256

254257
.project-item-div:hover {

src/projectView.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
async function populateProjects(subtopicID, label){
55
topicSubtopicHeader_el.textContent = label;
66
topicListDiv_el.innerHTML = '';
7-
console.log(activeProjects);
8-
console.log(subtopicID);
97
const filteredProjects = activeProjects.filter(element => parseInt(element.subtopicID) === parseInt(subtopicID) || element.subtopicID === 'null')
108

119
filteredProjects.forEach(async (element) => {

0 commit comments

Comments
 (0)