@@ -2016,6 +2016,28 @@ describe("components.css theme-sensitive surfaces", () => {
20162016 const statusStrip = getLastRuleBlock (
20172017 ".mobile-shell__bottom-stack .git-panel-status-strip"
20182018 ) . replace ( / \s + / g, " " ) ;
2019+ const statusLeft = getLastRuleBlock (
2020+ ".mobile-shell__bottom-stack .workspace-status-bar__left"
2021+ ) . replace ( / \s + / g, " " ) ;
2022+ const statusStripLeft = getLastRuleBlock (
2023+ ".mobile-shell__bottom-stack .git-panel-status-strip__left"
2024+ ) . replace ( / \s + / g, " " ) ;
2025+ const statusMeta = getLastRuleBlock (
2026+ ".mobile-shell__bottom-stack .git-panel-status-strip__meta"
2027+ ) . replace ( / \s + / g, " " ) ;
2028+ const statusRight = getLastRuleBlock (
2029+ ".mobile-shell__bottom-stack .workspace-status-bar__right"
2030+ ) . replace ( / \s + / g, " " ) ;
2031+ const statusRightEmpty = getLastRuleBlock (
2032+ ".mobile-shell__bottom-stack .workspace-status-bar__right:empty"
2033+ ) . replace ( / \s + / g, " " ) ;
2034+ const updateRail = getLastRuleBlock ( ".mobile-shell__bottom-stack .footer-update-rail" ) . replace (
2035+ / \s + / g,
2036+ " "
2037+ ) ;
2038+ const updateRailText = getLastRuleBlock (
2039+ ".mobile-shell__bottom-stack .footer-update-rail__text"
2040+ ) . replace ( / \s + / g, " " ) ;
20192041 const emptyPane = getLastRuleBlock ( ".mobile-shell__empty-content" ) ;
20202042 const emptyState = getLastRuleBlock ( ".mobile-shell__empty-state" ) ;
20212043 const emptyTitle = getLastRuleBlock ( ".mobile-shell__empty-title" ) ;
@@ -2049,12 +2071,34 @@ describe("components.css theme-sensitive surfaces", () => {
20492071 expect ( dockItem ) . toContain ( "height: 36px" ) ;
20502072 expect ( dockItem ) . toContain ( "padding: 1px var(--sp-2) 0" ) ;
20512073 expect ( dockLabel ) . toContain ( "font-size: var(--type-body-6-size)" ) ;
2052- expect ( statusBar ) . toContain (
2053- "padding: 0 calc(var(--mobile-safe-right) + var(--sp-4)) calc(var(--mobile-safe-bottom) + var(--sp-1)) calc(var(--mobile-safe-left) + var(--sp-4))"
2054- ) ;
2074+ expect ( statusBar ) . toContain ( "padding: 0 0 calc(var(--mobile-safe-bottom) + var(--sp-1))" ) ;
20552075 expect ( statusBar ) . toContain ( "border-top: 1px solid" ) ;
2076+ expect ( statusBar ) . toContain ( "flex-wrap: wrap" ) ;
2077+ expect ( statusBar ) . toContain ( "gap: 0" ) ;
20562078 expect ( statusStrip ) . toContain ( "min-height: 28px" ) ;
2079+ expect ( statusStrip ) . toContain ( "width: 100%" ) ;
20572080 expect ( statusStrip ) . toContain ( "font-size: var(--type-body-6-size)" ) ;
2081+ expect ( statusLeft ) . toContain (
2082+ "padding: 0 calc(var(--mobile-safe-right) + var(--sp-4)) 0 calc(var(--mobile-safe-left) + var(--sp-4))"
2083+ ) ;
2084+ expect ( statusStripLeft ) . toContain ( "width: 100%" ) ;
2085+ expect ( statusStripLeft ) . toContain ( "justify-content: space-between" ) ;
2086+ expect ( statusMeta ) . toContain ( "margin-left: auto" ) ;
2087+ expect ( statusMeta ) . toContain ( "justify-content: flex-end" ) ;
2088+ expect ( statusRight ) . toContain ( "flex: 0 0 100%" ) ;
2089+ expect ( statusRight ) . toContain ( "width: 100%" ) ;
2090+ expect ( statusRight ) . toContain ( "max-width: none" ) ;
2091+ expect ( statusRight ) . toContain ( "justify-content: flex-end" ) ;
2092+ expect ( statusRight ) . toContain ( "margin-left: 0" ) ;
2093+ expect ( statusRight ) . toContain (
2094+ "padding: 0 calc(var(--mobile-safe-right) + var(--sp-4)) 0 calc(var(--mobile-safe-left) + var(--sp-4))"
2095+ ) ;
2096+ expect ( statusRight ) . toContain ( "border-top: 1px solid" ) ;
2097+ expect ( statusRightEmpty ) . toContain ( "display: none" ) ;
2098+ expect ( updateRail ) . toContain ( "width: 100%" ) ;
2099+ expect ( updateRail ) . toContain ( "flex-wrap: wrap" ) ;
2100+ expect ( updateRail ) . toContain ( "justify-content: flex-end" ) ;
2101+ expect ( updateRailText ) . toContain ( "white-space: normal" ) ;
20582102 expect ( emptyPane ) . toContain ( "position: relative" ) ;
20592103 expect ( emptyPane ) . toContain ( "width: min(100%, 320px)" ) ;
20602104 expect ( emptyPane ) . toContain ( "align-self: flex-start" ) ;
0 commit comments