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