diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-07-19 17:16:28 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-07-19 17:16:28 +0300 |
commit | e4384360a16dd9a19d4d2d25d0ef1f2b862ed2a6 (patch) | |
tree | 2fcdfa7dcdb9db8f5208b2562f4b4e803d671243 /app/assets/stylesheets/pages/projects.scss | |
parent | ffda4e7bcac36987f936b4ba515995a6698698f0 (diff) |
Add latest changes from gitlab-org/gitlab@16-2-stable-eev16.2.0-rc42
Diffstat (limited to 'app/assets/stylesheets/pages/projects.scss')
-rw-r--r-- | app/assets/stylesheets/pages/projects.scss | 54 |
1 files changed, 7 insertions, 47 deletions
diff --git a/app/assets/stylesheets/pages/projects.scss b/app/assets/stylesheets/pages/projects.scss index ff1987f35b3..8cf0bebfc4e 100644 --- a/app/assets/stylesheets/pages/projects.scss +++ b/app/assets/stylesheets/pages/projects.scss @@ -518,64 +518,24 @@ } } -.project-refs-form .dropdown-menu { - width: 300px; - @include media-breakpoint-up(sm) { - width: 500px; - } - - a { - white-space: normal; - } -} - -.compare-form-group { - .dropdown-menu, - .inline-input-group { - width: 100%; - - @include media-breakpoint-up(sm) { - width: 300px; +.compare-revision-cards { + @media (max-width: $breakpoint-lg) { + .swap-button { + display: none; } } - + .compare-ellipsis { - width: 100%; - vertical-align: middle; - text-align: center; - margin-top: -20px; - - @include media-breakpoint-up(sm) { - margin: 0 $gl-padding-8; - width: auto; + @media (max-width: $breakpoint-lg) { + .swap-button-mobile { + display: flex; } } - // Remove once gitlab/ui solution is implemented: - // https://gitlab.com/gitlab-org/gitlab-ui/-/issues/1157 - // https://gitlab.com/gitlab-org/gitlab/-/issues/300405 - .gl-search-box-by-type-input { - width: 100%; - } - - // Remove once gitlab/ui solution is implemented - // https://gitlab.com/gitlab-org/gitlab-ui/-/issues/1158 - // https://gitlab.com/gitlab-org/gitlab/-/issues/300405 - .gl-dropdown-button-text { - @include str-truncated; - } -} - -.compare-revision-cards { @media (min-width: $breakpoint-lg) { .gl-card { width: calc(50% - 15px); } - - .compare-ellipsis { - width: 30px; - } } } |