diff options
Diffstat (limited to 'css/projects-styles.css')
| -rw-r--r-- | css/projects-styles.css | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/css/projects-styles.css b/css/projects-styles.css index 4761443..5cf1843 100644 --- a/css/projects-styles.css +++ b/css/projects-styles.css @@ -4,9 +4,10 @@ body { min-height: 100vh; + width: 100vw; display: flex; flex-direction: column; - overflow: auto; + overflow-x: hidden; position: relative; background-color: #f9f9f9; margin: 0 !important; @@ -59,7 +60,7 @@ h4 { p { font-size: 1rem !important; font-weight: 400; - width: 300px; + width: minmax(250px, 1fr); text-wrap: wrap; } @@ -135,7 +136,7 @@ a { .projects-grid { display: grid; gap: 1em; - grid-template-columns: auto auto auto; + grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); grid-auto-flow: row; } |
