FIX: Not text inside image boxes have inner padding.

This commit is contained in:
MajorDroolz
2023-01-05 00:00:28 -05:00
parent 9611cde594
commit a554ca8fa6
2 changed files with 7 additions and 1 deletions

View File

@@ -192,7 +192,7 @@ nav {
} }
.project-item { .project-item {
min-width: max(40%, 300px); min-width: min(max(40%, 400px), 100%);
flex: 1; flex: 1;
height: 300px; height: 300px;
background-color: var(--color); background-color: var(--color);
@@ -272,6 +272,9 @@ nav {
flex: 1000; flex: 1000;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
text-align: center;
box-sizing: border-box;
padding: 10px;
} }
.project-image-outer { .project-image-outer {

View File

@@ -40,6 +40,9 @@
color: #aaa; color: #aaa;
position: relative; position: relative;
text-align: center; text-align: center;
padding: 10px;
hyphens: manual;
box-sizing: border-box;
} }
#description { #description {