diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 48a2ae9..ee99327 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -20,4 +20,7 @@ server.port=8080 spring.servlet.multipart.max-file-size=20MB spring.servlet.multipart.max-request-size=20MB server.tomcat.max-swallow-size=-1 -server.tomcat.max-part-count=100 \ No newline at end of file +server.tomcat.max-part-count=100 + +# Stable upload directory for images +app.upload.dir=${THYMECRUNCH_UPLOAD_DIR:${user.home}/thymecrunch/uploads} \ No newline at end of file diff --git a/src/main/resources/static/css/explore.css b/src/main/resources/static/css/explore.css index 1248058..efac994 100644 --- a/src/main/resources/static/css/explore.css +++ b/src/main/resources/static/css/explore.css @@ -151,7 +151,7 @@ body, html { .create_icon::after { content: "Create a recipe"; - display: none; + display: block; position: absolute; left: 50%; bottom: 100%; @@ -164,10 +164,7 @@ body, html { white-space: nowrap; padding: 4px 10px; border-radius: 10px; -} - -.create_icon:hover::after { - display: block; + margin-bottom: 6px; } .create_icon:hover { diff --git a/src/main/resources/static/css/home.css b/src/main/resources/static/css/home.css index 6cf8b0c..51fc825 100644 --- a/src/main/resources/static/css/home.css +++ b/src/main/resources/static/css/home.css @@ -144,7 +144,7 @@ body, html { .create_icon::after { content: "Create a recipe"; - display: none; + display: block; position: absolute; left: 50%; bottom: 100%; @@ -157,13 +157,9 @@ body, html { white-space: nowrap; padding: 4px 10px; border-radius: 10px; + margin-bottom: 6px; } -.create_icon:hover::after { - display: block; -} - - .create_icon:hover { transform: scale(1.02); } diff --git a/src/main/resources/static/css/my-profile.css b/src/main/resources/static/css/my-profile.css index 829d7e4..9a23fb2 100644 --- a/src/main/resources/static/css/my-profile.css +++ b/src/main/resources/static/css/my-profile.css @@ -148,7 +148,7 @@ body, html { .create_icon::after { content: "Create a recipe"; - display: none; + display: block; position: absolute; left: 50%; bottom: 100%; @@ -161,10 +161,7 @@ body, html { white-space: nowrap; padding: 4px 10px; border-radius: 10px; -} - -.create_icon:hover::after { - display: block; + margin-bottom: 6px; } .create_icon:hover { diff --git a/src/main/resources/static/css/public-profile.css b/src/main/resources/static/css/public-profile.css index 82bcfee..86594b0 100644 --- a/src/main/resources/static/css/public-profile.css +++ b/src/main/resources/static/css/public-profile.css @@ -148,7 +148,7 @@ body, html { .create_icon::after { content: "Create a recipe"; - display: none; + display: block; position: absolute; left: 50%; bottom: 100%; @@ -161,10 +161,7 @@ body, html { white-space: nowrap; padding: 4px 10px; border-radius: 10px; -} - -.create_icon:hover::after { - display: block; + margin-bottom: 6px; } .create_icon:hover { diff --git a/src/main/resources/static/css/view-recipe.css b/src/main/resources/static/css/view-recipe.css index 4cdb930..b0238c1 100644 --- a/src/main/resources/static/css/view-recipe.css +++ b/src/main/resources/static/css/view-recipe.css @@ -147,7 +147,7 @@ body, html { .create_icon::after { content: "Create a recipe"; - display: none; + display: block; position: absolute; left: 50%; bottom: 100%; @@ -160,13 +160,9 @@ body, html { white-space: nowrap; padding: 4px 10px; border-radius: 10px; + margin-bottom: 6px; } -.create_icon:hover::after { - display: block; -} - - .create_icon:hover { transform: scale(1.02); }