1
0
mirror of https://github.com/kremalicious/portfolio.git synced 2024-12-23 01:29:41 +01:00

image count fixes

This commit is contained in:
Matthias Kretschmann 2019-04-14 20:01:09 +02:00
parent 6e9a079b5d
commit 4526e29ee7
Signed by: m
GPG Key ID: 606EEEF3C479A91F
2 changed files with 6 additions and 2 deletions

View File

@ -79,7 +79,9 @@ export const IndexQuery = graphql`
}
}
projectImageFiles: allFile(filter: { name: { regex: "/portfolio/" } }) {
projectImageFiles: allFile(
filter: { absolutePath: { regex: "/portfolio/" } }
) {
edges {
node {
name

View File

@ -71,7 +71,7 @@
bottom: 10%;
right: 0;
color: $brand-grey-dimmed;
font-size: $font-size-mini;
font-size: $font-size-small;
padding: $spacer / 6 $spacer / 2;
background: rgba($brand-cyan, .9);
z-index: 10;
@ -81,5 +81,7 @@
svg {
fill: $brand-grey-dimmed;
width: $font-size-mini;
height: $font-size-mini;
}
}