Skip to content

Commit

Permalink
Fixed compatibility problems with newer node/npm
Browse files Browse the repository at this point in the history
Improved full-height post page style
  • Loading branch information
funmaker committed Dec 16, 2021
1 parent 8976b68 commit 0633f0b
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 8 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@
- Research if VACUUMing has any value
- search md5/sha

# v1.4.6

- Fixed compatibility problems with newer node/npm
- Improved full-height post page style


# v1.4.4

- Updated for Hydrus v447
Expand Down
4 changes: 4 additions & 0 deletions client/globals.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
scrollbar-color: light;
}

html {
height: 100%;
}

:root {
--page-background: white;
--text-color: black;
Expand Down
19 changes: 15 additions & 4 deletions client/routes/post/PostPage.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@

.content {
height: 100%;
align-self: flex-start;
text-align: center;
display: flex;
align-items: center;

.fileWrap {
position: relative;
flex: 1;
height: 100%;
align-self: flex-start;
align-self: stretch;
padding: 1rem;
display: flex;

Expand Down Expand Up @@ -79,6 +79,13 @@
}

&.fullHeight {
height: unset;

.content {
height: fit-content;
min-height: 100vh;
}

.fileWrap {
.File {
max-height: unset !important;
Expand All @@ -93,8 +100,12 @@
position: absolute;
}

.sidebar {
height: unset;
&:not(.mobile) {
.sidebar {
height: unset;
min-height: 100vh;
}
}
}
}

4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "hybooru",
"description": "Hydrus-based booru-styled imageboard in React",
"version": "1.4.5",
"version": "1.4.6-dev",
"engines": {
"node": ">=14.0.0",
"npm": ">=7.0.0"
Expand All @@ -24,7 +24,7 @@
"axios": "^0.21.1",
"better-sqlite3": "^7.1.4",
"body-parser": "^1.19.0",
"chalk": "latest",
"chalk": "^4.1.0",
"compression": "^1.7.4",
"cookie-parser": "^1.4.5",
"csurf": "^1.11.0",
Expand Down

0 comments on commit 0633f0b

Please sign in to comment.