From c7fd1a0b980c75866c17bd805937cdc0fdde905e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Mon, 25 May 2020 17:15:22 -0400 Subject: [PATCH] fix: remove absolute from cover and remove margins, fixes https://github.com/NodeBB/NodeBB/issues/7969 --- less/account.less | 5 ----- less/mobile.less | 2 -- 2 files changed, 7 deletions(-) diff --git a/less/account.less b/less/account.less index 45b119c..8494883 100644 --- a/less/account.less +++ b/less/account.less @@ -33,7 +33,6 @@ background-origin: content-box; width: 100%; top: 50px; - position: absolute; left: auto; right: 0px; @@ -154,8 +153,6 @@ } } - margin-top: 200px; - .container { height: 200px; position: relative; @@ -167,8 +164,6 @@ } @media (min-width: @screen-md-min) { - margin-top: 300px; - .cover, .container { height: 300px; diff --git a/less/mobile.less b/less/mobile.less index 2990cc6..be61938 100644 --- a/less/mobile.less +++ b/less/mobile.less @@ -25,8 +25,6 @@ } .account { - margin-top: 256px; - .cover .controls i { font-size: 3em; }