Browse Source

v1.0.2 - blurb image resize

master
Spencer Flagg 2 years ago
parent
commit
5ee480a2f1
3 changed files with 5 additions and 5 deletions
  1. +2
    -2
      package-lock.json
  2. +1
    -1
      package.json
  3. +2
    -2
      src/assets/styles/_blurb.css

+ 2
- 2
package-lock.json View File

@ -1,12 +1,12 @@
{ {
"name": "graphicvizion", "name": "graphicvizion",
"version": "1.0.1",
"version": "1.0.2",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "graphicvizion", "name": "graphicvizion",
"version": "1.0.1",
"version": "1.0.2",
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
"@glidejs/glide": "^3.4.1", "@glidejs/glide": "^3.4.1",

+ 1
- 1
package.json View File

@ -1,6 +1,6 @@
{ {
"name": "graphicvizion", "name": "graphicvizion",
"version": "1.0.1",
"version": "1.0.2",
"description": "GraphicViZion", "description": "GraphicViZion",
"scripts": { "scripts": {
"build-dev:webpack": "webpack", "build-dev:webpack": "webpack",

+ 2
- 2
src/assets/styles/_blurb.css View File

@ -39,7 +39,7 @@ article.blurb__wrapper {
.before-and-after { .before-and-after {
--ratio: 781/1347; --ratio: 781/1347;
/* --ratio: 1347/781; */ /* --ratio: 1347/781; */
--height: 30rem;
--height: 32rem;
position: relative; position: relative;
height: var(--height); height: var(--height);
width: calc(var(--height) * var(--ratio)); width: calc(var(--height) * var(--ratio));
@ -47,7 +47,7 @@ article.blurb__wrapper {
border: 2px solid white; border: 2px solid white;
border-radius: var(--r-1); border-radius: var(--r-1);
overflow: hidden; overflow: hidden;
background: var(--c-1);
/* background: var(--c-1); */
width: 100%; width: 100%;
} }

Loading…
Cancel
Save