diff --git a/ZB.MOM.WW.Theme/Directory.Build.props b/ZB.MOM.WW.Theme/Directory.Build.props index c8fbcf1..ad02954 100644 --- a/ZB.MOM.WW.Theme/Directory.Build.props +++ b/ZB.MOM.WW.Theme/Directory.Build.props @@ -4,7 +4,7 @@ enable enable latest - 0.4.0 + 0.4.1 true diff --git a/ZB.MOM.WW.Theme/src/ZB.MOM.WW.Theme/wwwroot/css/layout.css b/ZB.MOM.WW.Theme/src/ZB.MOM.WW.Theme/wwwroot/css/layout.css index f5b0509..dd30161 100644 --- a/ZB.MOM.WW.Theme/src/ZB.MOM.WW.Theme/wwwroot/css/layout.css +++ b/ZB.MOM.WW.Theme/src/ZB.MOM.WW.Theme/wwwroot/css/layout.css @@ -226,14 +226,29 @@ text-decoration: none; } /* Full-width modifier for a rail-foot action (sign in / sign out), composed as - class="rail-btn rail-btn-block". Block + width:auto fills the rail inside the - same 0.6rem inset .rail-btn already carries. Deliberately NOT width:100% — - that resolves against the containing block and then *adds* the 1.2rem of side - margin, overflowing the rail. Apps that hand-rolled this override hit exactly - that. */ + class="rail-btn rail-btn-block". + + The width is explicit — calc(100% - 1.2rem) — and NOT one of the two obvious + shorthands, because a rail foot typically holds BOTH element types: Sign In + is an , Sign Out is a form-submit