overleaf-cep/services/web/app/views/_mixins/bookmarkable_tabset.pug
Jessica Lawshe b735cac588 Merge pull request #22912 from overleaf/jel-cms-tabs-bs5
[web] Update admin panel to use `.ol-tabs` style

GitOrigin-RevId: c9e808c5534e5f033a8e829b35b0c6bd865cb596
2025-01-20 09:05:22 +00:00

10 lines
238 B
Text

mixin bookmarkable-tabset-header(id, title, active)
li(role="presentation")
a.nav-link(
href='#' + id
class=(active ? 'active' : '')
aria-controls=id
role="tab"
data-toggle="tab"
data-ol-bookmarkable-tab
) #{title}