Skip to content

Commit

Permalink
2.0.1 - DigitalMind
Browse files Browse the repository at this point in the history
~ Fixed thumbnail sizing
+ Search page thumbnails redirect
  • Loading branch information
ALewdDev committed Jul 6, 2021
1 parent 4b73e6c commit b066bef
Show file tree
Hide file tree
Showing 5 changed files with 160 additions and 128 deletions.
4 changes: 2 additions & 2 deletions source/manifest.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "Neko",
"short_name": "",
"version": "2.0.0",
"version_name": "DreamButt",
"version": "2.0.1",
"version_name": "DigitalMind",
"author": "LewdTechnologies",

"description": "Neko redesigns E621's interface.",
Expand Down
24 changes: 16 additions & 8 deletions source/resource/css/Theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
text-decoration: none;
font-family: var(--font-default);
user-select: none;
overflow: hidden;
}


Expand Down Expand Up @@ -229,8 +228,8 @@ middle > posts {

posts > post {

width: 200px;
height: 200px;
width: 175px;
height: 175px;

display: flex;
flex-direction: column;
Expand All @@ -243,17 +242,26 @@ posts > post {

posts > post > img {

width: 180px;
height: 180px;
max-width: 150px;
max-height: 150px;

max-width: 100%;
max-height: 100%;
width: auto;
height: auto;

background-color: var(--blue-dim);
border-radius: 8px;
border: 3px solid transparent;

transition: all .6s ease;
transition: all 1s ease;

cursor: pointer;

}

posts > post > img.dummy {

width: 150px;
height: 150px;

}

Expand Down
1 change: 1 addition & 0 deletions source/source/background/extractors/Posts.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
const { dataset } = element;

const info = {
id: dataset.id,
comments: Number(select(element,'.desc > .post-score > .post-score-comments')?.innerText.substring(1) ?? -1),
favorites: Number(dataset.favCount),
extension: dataset.fileExt,
Expand Down
1 change: 1 addition & 0 deletions source/source/content/Template.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

(() => {

console.clear();
console.time('Page Load');


Expand Down
Loading

0 comments on commit b066bef

Please sign in to comment.