Commit 4aad29b3 authored by Justin Ho's avatar Justin Ho

Fix horizontal scrolling on blocked/private profile

Previous code used a row and columns without a container
to reset padding / margin, thus it caused the row to
overflow and make the page scroll horizontally.

The row and col-12 were removed since there is no point
in using columns when it spans the full width.
parent 1ea531ad
......@@ -161,12 +161,9 @@
.spinner.spinner-md
- if profile_tabs.empty?
.row
.col-12
.svg-content
= image_tag 'illustrations/profile_private_mode.svg'
.col-12.text-center
.text-content
.text-content.text-center
%h4
- if @user.blocked?
= s_('UserProfile|This user is blocked')
......
---
title: Fix horizontal scrolling on blocked/private profile pages
merge_request: 39568
author:
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment