Skip to content

Commit 93e6c01

Browse files
committed
some minor comment added Pendig: 1. Backend optimisation like leaderboard and 2. Responsive for all pages
1 parent 0379fd6 commit 93e6c01

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

public/css/user_dashboard.css

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,3 +87,18 @@ html,body {
8787
background-color: #d2eaf7;
8888
color: #233b64;
8989
}
90+
91+
/* For Responsive
92+
93+
@media only screen and (max-width: 1500px){
94+
#form1 {
95+
width: 98%;
96+
margin: 1%;
97+
}
98+
}
99+
100+
@media only screen and (max-width: 976px){
101+
#table {
102+
width: 950px;
103+
}
104+
} */

public/js/user_dashboard.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ async function getAllExpenses() {
137137

138138
for (let i = 1; i <= Total_Pages; i++) {
139139
const li = document.createElement("li");
140+
//Here I make anchor tag, but this is not the best way beacuse anchor tag reload our page. so we have to make a button instead of anchor tag
140141
const a = document.createElement("a");
141142

142143
li.setAttribute("class", "page-item");

0 commit comments

Comments
 (0)