diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-01-18 19:00:14 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-01-18 19:00:14 +0000 |
commit | 05f0ebba3a2c8ddf39e436f412dc2ab5bf1353b2 (patch) | |
tree | 11d0f2a6ec31c7793c184106cedc2ded3d9a2cc5 /app/assets/javascripts/search/sidebar/constants/index.js | |
parent | ec73467c23693d0db63a797d10194da9e72a74af (diff) | |
download | gitlab-ce-05f0ebba3a2c8ddf39e436f412dc2ab5bf1353b2.tar.gz |
Add latest changes from gitlab-org/gitlab@15-8-stable-eev15.8.0-rc42
Diffstat (limited to 'app/assets/javascripts/search/sidebar/constants/index.js')
-rw-r--r-- | app/assets/javascripts/search/sidebar/constants/index.js | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/app/assets/javascripts/search/sidebar/constants/index.js b/app/assets/javascripts/search/sidebar/constants/index.js index a9c031f91a4..19b1ad0905b 100644 --- a/app/assets/javascripts/search/sidebar/constants/index.js +++ b/app/assets/javascripts/search/sidebar/constants/index.js @@ -1,13 +1,16 @@ export const SCOPE_ISSUES = 'issues'; export const SCOPE_MERGE_REQUESTS = 'merge_requests'; - -export const NUMBER_FORMATING_OPTIONS = { notation: 'compact', compactDisplay: 'short' }; -export const NAV_LINK_DEFAULT_CLASSES = [ +export const SCOPE_BLOB = 'blobs'; +export const LABEL_DEFAULT_CLASSES = [ 'gl-display-flex', 'gl-flex-direction-row', 'gl-flex-wrap-nowrap', - 'gl-justify-content-space-between', 'gl-text-gray-900', ]; - +export const NAV_LINK_DEFAULT_CLASSES = [ + ...LABEL_DEFAULT_CLASSES, + 'gl-justify-content-space-between', +]; export const NAV_LINK_COUNT_DEFAULT_CLASSES = ['gl-font-sm', 'gl-font-weight-normal']; +export const HR_DEFAULT_CLASSES = ['gl-my-5', 'gl-mx-5', 'gl-border-gray-100']; +export const ONLY_SHOW_MD = ['gl-display-none', 'gl-md-display-block']; |