Skip to content
代码片段 群组 项目
未验证 提交 6393f65a 编辑于 作者: Coung Ngo's avatar Coung Ngo 提交者: GitLab
浏览文件

Merge branch '441158-organization-switcher-fix-tab-off-center' into 'master'

Use center placement for organization switcher

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/144530



Merged-by: default avatarCoung Ngo <cngo@gitlab.com>
Approved-by: default avatarMike Nichols <mnichols@gitlab.com>
Approved-by: default avatarCoung Ngo <cngo@gitlab.com>
Co-authored-by: default avatarPeter Hegman <phegman@gitlab.com>
No related branches found
No related tags found
无相关合并请求
...@@ -108,7 +108,12 @@ export default { ...@@ -108,7 +108,12 @@ export default {
</script> </script>
<template> <template>
<gl-disclosure-dropdown :items="items" class="gl-display-block" @shown="onShown"> <gl-disclosure-dropdown
:items="items"
class="gl-display-block"
placement="center"
@shown="onShown"
>
<template #toggle> <template #toggle>
<button <button
class="organization-switcher-button gl-display-flex gl-align-items-center gl-gap-3 gl-p-3 gl-rounded-base gl-border-none gl-line-height-1 gl-w-full" class="organization-switcher-button gl-display-flex gl-align-items-center gl-gap-3 gl-p-3 gl-rounded-base gl-border-none gl-line-height-1 gl-w-full"
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册