diff --git a/web/styles/portico/markdown.css b/web/styles/portico/markdown.css index ccf9950dab..ff9ba9202b 100644 --- a/web/styles/portico/markdown.css +++ b/web/styles/portico/markdown.css @@ -454,7 +454,7 @@ margin-bottom: 10px; border: 1px solid hsl(0deg 0% 87%); - & > div { + .tab-content { display: none; } } @@ -467,7 +467,7 @@ border-radius: 6px; } - &.no-tabs .blocks > div, + &.no-tabs .blocks > .tab-content, &.has-tabs .blocks > .active { display: block; } diff --git a/zerver/lib/markdown/tabbed_sections.py b/zerver/lib/markdown/tabbed_sections.py index 9a1bfb9225..87922d3e02 100644 --- a/zerver/lib/markdown/tabbed_sections.py +++ b/zerver/lib/markdown/tabbed_sections.py @@ -33,7 +33,7 @@ NAV_LIST_ITEM_TEMPLATE = """ """.strip() DIV_TAB_CONTENT_TEMPLATE = """ -
iOS instructions
Desktop/browser instructions
Desktop/browser instructions
Android instructions
Instructions for all platforms