diff --git a/pkg/common/styles/forms/create_profile.templ b/pkg/common/styles/forms/create_profile.templ index 8320d4b55..ce33babe2 100644 --- a/pkg/common/styles/forms/create_profile.templ +++ b/pkg/common/styles/forms/create_profile.templ @@ -18,7 +18,7 @@ func (d CreateProfileData) IsHumanLabel() string { // ProfileForm is a standard form styled like a card templ CreateProfile(action string, method string, data CreateProfileData) {
- +
@@ -47,12 +47,29 @@ templ CreateProfile(action string, method string, data CreateProfileData) {
+ .card-form { + margin: 1rem; + } + .card-form [slot='footer'] { + display: flex; + justify-content: space-between; + align-items: center; + flex-wrap: wrap; + gap: 1rem; + } + @media (max-width: 640px) { + .card-form { + margin: 0.5rem; + } + .card-form [slot='footer'] { + flex-direction: column-reverse; + width: 100%; + } + .card-form [slot='footer'] sl-button { + width: 100%; + } + } + }