File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ func (b *buttonShowRegister) Render() app.UI {
52
52
}
53
53
func (b * buttonShowRegister ) onClick (ctx app.Context , e app.Event ) {
54
54
app .Window ().GetElementByID ("register-container" ).Set ("className" , registerDivCss )
55
+ app .Window ().GetElementByID ("login-container" ).Set ("className" , inviCss )
55
56
}
56
57
57
58
type registerContainer struct {
@@ -161,7 +162,8 @@ func (l *loginContainer) Render() app.UI {
161
162
& buttonShowRegister {},
162
163
),
163
164
),
164
- ).Class ("p-4 text-center text-xl shadow-lg bg-white rounded-lg" ),
165
+ ).Class ("p-4 text-center text-xl shadow-lg bg-white rounded-lg" ,
166
+ ).ID ("login-container" ),
165
167
& registerContainer {},
166
168
app .Div ().Body (& ErrorContainer {})).Class (
167
169
centeringDivCss )
You can’t perform that action at this time.
0 commit comments