Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
playground_popover: Redesign popover using the new "popover-menu" theme.
Sayam Samalfe1f8afb1b74
diff --git a/web/src/playground_links_popover.ts b/web/src/playground_links_popover.tsindex 5ac4fc0a76e..1ab82a20403 100644--- a/web/src/playground_links_popover.ts+++ b/web/src/playground_links_popover.ts@@ -26,6 +26,7 @@ function toggle_playground_links_popover(}popover_menus.toggle_popover_menu(element, {+ theme: "popover-menu",placement: "bottom",popperOptions: {modifiers: [diff --git a/web/templates/popovers/playground_links_popover.hbs b/web/templates/popovers/playground_links_popover.hbsindex fa984ba2cd4..f3530c9b185 100644--- a/web/templates/popovers/playground_links_popover.hbs+++ b/web/templates/popovers/playground_links_popover.hbs@@ -1,11 +1,11 @@-{{! Contents of "view code in playground" popover for code blocks}}-<ul class="nav nav-list">- {{#each playground_info}}- <li>- <a href="{{this/playground_url}}" target="_blank" rel="noopener noreferrer" class="popover_playground_link">- {{t "View in {name}" }}- </a>- </li>- {{/each}}-</ul>-+<div class="popover-menu playground-links-popover" data-simplebar data-simplebar-tab-index="-1">+ <ul role="menu" class="popover-menu-list">+ {{#each playground_info}}+ <li role="none" class="link-item popover-menu-list-item">+ <a href="{{this/playground_url}}" target="_blank" rel="noopener noreferrer" role="menuitem" class="popover_playground_link popover-menu-link" tabindex="0">+ <span class="popover-menu-label">{{t "View in {name}" }}</span>+ </a>+ </li>+ {{/each}}+ </ul>+</div>