Skip to content
This repository was archived by the owner on May 16, 2019. It is now read-only.

Commit 7d1d7c1

Browse files
committed
- fixes missing dotted line when customizing the user page due to the wrong class being used.
- fixes height of the dotted line going off the bottom of the viewport.
1 parent 857b3a9 commit 7d1d7c1

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

css/obBase.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ h6, .h6 {
370370
#obContainer.customizeUserPage {
371371
overflow: hidden;
372372
border: 5px dashed #fff;
373-
height: 100%;
373+
height: calc(100% - 76px);
374374
animation: borderDashedFade .35s normal linear;
375375
}
376376

js/router.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ module.exports = Backbone.Router.extend({
183183
cleanup: function(){
184184
$('#loadingModal').addClass('hide'); //hide modal if it is still visible
185185
messageModal.hide();
186-
$('#obContainer').removeClass('modalOpen innerModalOpen box-borderDashed noScrollBar overflowHidden');
186+
$('#obContainer').removeClass('modalOpen innerModalOpen customizeUserPage noScrollBar overflowHidden');
187187
window.obEventBus.trigger('cleanNav');
188188
},
189189

js/views/userPageVw.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ UserPageVw = pageVw.extend({
565565
this.$el.find('.js-unfollow').removeClass('confirm');
566566
this.$el.find('.js-removemoderator').removeClass('confirm');
567567
this.$el.find('.user-page-header-slim-bg-cover').removeClass('user-page-header-slim-bg-cover-customize');
568-
this.$obContainer[0].classList.remove("box-borderDashed", "noScrollBar", "overflowHidden");
568+
this.$obContainer[0].classList.remove("customizeUserPage", "noScrollBar", "overflowHidden");
569569
//unhide the ones that are needed
570570
if (this.options.ownPage === true) {
571571
if (state === "listing" || state === "listingOld") {
@@ -576,7 +576,7 @@ UserPageVw = pageVw.extend({
576576
this.$el.find('.js-pageCustomizationButtons').removeClass('hide');
577577
this.$el.find('#customizeControls').removeClass('hide');
578578
this.$el.find('.user-page-header-slim-bg-cover').addClass('user-page-header-slim-bg-cover-customize');
579-
this.$obContainer[0].classList.add("box-borderDashed", "noScrollBar", "overflowHidden");
579+
this.$obContainer[0].classList.add("customizeUserPage", "noScrollBar", "overflowHidden");
580580
} else {
581581
this.$el.find('.js-pageButtons').removeClass('hide');
582582
}

0 commit comments

Comments
 (0)