diff --git a/epicyon-profile.css b/epicyon-profile.css index 9a6849072..01635e803 100644 --- a/epicyon-profile.css +++ b/epicyon-profile.css @@ -970,14 +970,20 @@ aside .toggle-inside li { float: left; width: var(--column-left-width); } - .col-left img { + .col-left img.leftColEdit { background: var(--column-left-color); margin: 40px 0; width: 20%; } + .col-left img.leftColEditImage { + background: var(--column-left-color); + width: 20%; + } .col-left img.leftColImg { background: var(--column-left-color); - width: 90%; + width: 100%; + margin: 0 0; + padding: 0 0; } .col-center { width: var(--column-center-width); diff --git a/webinterface.py b/webinterface.py index c8d43c599..44b98f1fc 100644 --- a/webinterface.py +++ b/webinterface.py @@ -5182,7 +5182,10 @@ def getLeftColumnContent(baseDir: str, nickname: str, domainFull: str, if os.path.isfile(themeLeftColumnImageFilename): copyfile(themeLeftColumnImageFilename, leftColumnImageFilename) + # show the image at the top of the column + editImageClass = 'leftColEdit' if os.path.isfile(leftColumnImageFilename): + editImageClass = 'leftColEditImage' htmlStr += \ '
\n' + \ ' ' + \ - '' + \
+            '<img class=\n' + \