File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ class FooterBlock(FlexContainer):
2727 """
2828 def on_create (self ):
2929 super ().on_create ()
30+ self .klass = "footer-block"
3031 self .style ["flex-direction" ] = "column"
3132
3233 if "heading" in self .kwargs :
@@ -60,7 +61,8 @@ def on_create(self):
6061 self .style ["flex-wrap" ] = "wrap"
6162
6263 if "footer_items" in self .kwargs :
63- for heading , elements in self .kwargs .get ('footer_items' , {}).items ():
64+ items = self .kwargs .get ('footer_items' , {}).items ()
65+ for heading , elements in items :
6466 footer_block = FooterBlock (heading = heading , elements = elements )
6567 self .add_child (footer_block )
6668
@@ -129,7 +131,11 @@ def on_create(self):
129131 font-size: .8rem !important;
130132 }
131133
132- footer proudly-duck-logo {
134+ footer .footer-block {
135+ width: 100%;
136+ }
137+
138+ footer #proudly-duck-logo {
133139 width: 25px;
134140 height: 25px;
135141 margin-top: 5px;
You can’t perform that action at this time.
0 commit comments