Scroll?
This commit is contained in:
@@ -13,7 +13,7 @@ html {
|
||||
|
||||
body {
|
||||
background-color: var(--light-grey);
|
||||
min-height: 100vh;
|
||||
min-height: 90vh;
|
||||
margin-top: 0px;
|
||||
margin: 0px;
|
||||
table-layout: auto;
|
||||
@@ -162,9 +162,7 @@ body {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#table tbody,
|
||||
#stats tbody,
|
||||
.box tbody {
|
||||
* {
|
||||
scrollbar-gutter: stable overlay;
|
||||
}
|
||||
|
||||
|
||||
@@ -111,7 +111,7 @@ app.post("/getWatchlist", authenticate, async (req, res) => {
|
||||
const watchlist = await pool.request()
|
||||
.input("userID", sql.Int, req.user.Id)
|
||||
.input("id", sql.Int, id)
|
||||
.query(`SELECT Player.PlayerName, Player.Team, Player.Position, Player.PlayerID FROM Watch JOIN Player ON Watch.PlayerID = Player.PlayerID WHERE UserID = @userID`);
|
||||
.query(`SELECT Player.PlayerName, Player.Team, Player.Position, Player.PlayerID FROM Watch JOIN Player ON Watch.PlayerID = Player.PlayerID WHERE UserID = @userID ORDER BY Player.PlayerName`);
|
||||
|
||||
res.status(200).json({ watchlist: watchlist.recordset });
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user