Skip to content
Snippets Groups Projects
Commit 1313ef67 authored by Serhii Myronets's avatar Serhii Myronets Committed by Serhii Myronets
Browse files

Issue #3302397 by agami4: Improve ajax throbber position on the follow button

parent dbf1d108
No related branches found
No related tags found
No related merge requests found
...@@ -226,10 +226,23 @@ ...@@ -226,10 +226,23 @@
.socialblue--sky .block-profile-statistic-block .follow-user-wrapper .flag-follow-user, .socialblue--sky .block-profile-statistic-block .follow-user-wrapper .flag-follow-user,
.socialblue--sky .block-group-statistic-block .follow-user-wrapper .flag-follow-user { .socialblue--sky .block-group-statistic-block .follow-user-wrapper .flag-follow-user {
position: relative;
padding: 6px 12px; padding: 6px 12px;
font-weight: 400; font-weight: 400;
} }
.socialblue--sky .block-profile-statistic-block .follow-user-wrapper .flag-follow-user .js-flag-message,
.socialblue--sky .block-group-statistic-block .follow-user-wrapper .flag-follow-user .js-flag-message {
display: none;
}
.socialblue--sky .block-profile-statistic-block .follow-user-wrapper .flag-follow-user .ajax-throbber,
.socialblue--sky .block-group-statistic-block .follow-user-wrapper .flag-follow-user .ajax-throbber {
position: absolute;
top: 4px;
right: 10px;
}
.socialblue--sky .block-profile-statistic-block .follow-user-wrapper .hero-footer__cta, .socialblue--sky .block-profile-statistic-block .follow-user-wrapper .hero-footer__cta,
.socialblue--sky .block-group-statistic-block .follow-user-wrapper .hero-footer__cta { .socialblue--sky .block-group-statistic-block .follow-user-wrapper .hero-footer__cta {
padding-bottom: 0; padding-bottom: 0;
......
...@@ -24,6 +24,20 @@ ...@@ -24,6 +24,20 @@
color: #343434; color: #343434;
} }
.teaser .flag-follow-user {
position: relative;
}
.teaser .flag-follow-user .js-flag-message {
display: none;
}
.teaser .flag-follow-user .ajax-throbber {
position: absolute;
top: 4px;
right: 10px;
}
@media (min-width: 600px) { @media (min-width: 600px) {
.teaser__image { .teaser__image {
border-top-left-radius: inherit; border-top-left-radius: inherit;
......
...@@ -282,9 +282,20 @@ ...@@ -282,9 +282,20 @@
} }
.flag-follow-user { .flag-follow-user {
position: relative;
padding: 6px 12px; padding: 6px 12px;
font-weight: 400; font-weight: 400;
.js-flag-message {
display: none;
}
.ajax-throbber {
position: absolute;
top: 4px;
right: 10px;
}
@include for-phone-only { @include for-phone-only {
margin-bottom: .5rem; margin-bottom: .5rem;
} }
......
...@@ -60,4 +60,19 @@ ...@@ -60,4 +60,19 @@
.badge__label { .badge__label {
color: $default-color; color: $default-color;
} }
// Follow user button.
.flag-follow-user {
position: relative;
.js-flag-message {
display: none;
}
.ajax-throbber {
position: absolute;
top: 4px;
right: 10px;
}
}
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment