修正CSS

This commit is contained in:
高子兴 2024-07-15 01:27:15 +08:00
parent 6582e663f3
commit 5c3a5858f3

View File

@ -16,7 +16,7 @@ body {
height: 100%;
display: flex;
flex-direction: column;
background: rgba(244, 244, 244, 0) url("/web_assignment_war_exploded/resources/images/background.jpg") no-repeat center center fixed;
background: rgba(244, 244, 244, 0) url("#{facesContext.externalContext.requestContextPath}/resources/images/background.jpg") no-repeat center center fixed;
background-size: cover; /* Ensures the background image covers the entire area without distortion */
}