Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/stylesheets/pages/projects.scss')
-rw-r--r--app/assets/stylesheets/pages/projects.scss54
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;
- }
}
}