mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2025-12-27 10:33:59 -05:00
Fixes #7792 Bootstrap styles `a:has([href])` as a link so the attribute had been used in the past for things that aren't actually links, yet we want the style for. It's better to just use `.link-primary` so it doesn't affect the contents as discovered in #7792
10 lines
428 B
Plaintext
10 lines
428 B
Plaintext
block header
|
|
nav.bg-light
|
|
if mobileViewer
|
|
a.btn.link-primary.nodropdown-toggle#languageDropdown(role="button" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false") Language
|
|
|
|
.noscriptdropdown(aria-labelledby="languageDropdown")
|
|
each language in languages
|
|
a.dropdown-item.language-option(href=`${httpRoot}noscript/${language.id}` title=language.name)= language.name
|
|
|
|