From 68515fcf485089c01168748ad2f825bb7f79cfa6 Mon Sep 17 00:00:00 2001
From: Bob Mottram <bob@freedombone.net>
Date: Thu, 3 Oct 2019 15:34:13 +0100
Subject: [PATCH] License icon style

---
 epicyon-profile.css | 14 ++++++++++----
 webinterface.py     |  2 +-
 2 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/epicyon-profile.css b/epicyon-profile.css
index 1cd4adff2..1b59bbdc6 100644
--- a/epicyon-profile.css
+++ b/epicyon-profile.css
@@ -60,10 +60,6 @@ a:link {
     font-weight: bold;
 }
 
-.license {
-    width: 5%;
-}
-
 .cwButton {
     border-radius: var(--button-corner-radius);
     background-color: #554;
@@ -1051,6 +1047,11 @@ div.imagedesc {
 	margin: 5px;
 	float: right;
     }
+    .license {
+        float: right;
+        margin: 0% 1%;
+        width: 10%;
+    }
 }
 
 @media screen and (max-width: 1000px) {
@@ -1303,4 +1304,9 @@ div.imagedesc {
 	margin: 5px;
 	float: right;
     }
+    .license {
+        float: right;
+        margin: 0% 1%;
+        width: 20%;
+    }
 }
diff --git a/webinterface.py b/webinterface.py
index 5a775cf44..9524cc585 100644
--- a/webinterface.py
+++ b/webinterface.py
@@ -1288,7 +1288,7 @@ def htmlProfile(translate: {},projectVersion: str, \
     with open(cssFilename, 'r') as cssFile:
         profileStyle = cssFile.read().replace('image.png',actor+'/image.png')
 
-        licenseStr='<centre><a href="https://gitlab.com/bashrc2/epicyon"><img class="license" src="/icons/agpl.png" /></a></centre>'
+        licenseStr='<a href="https://gitlab.com/bashrc2/epicyon"><img class="license" src="/icons/agpl.png" /></a>'
 
         if selected=='posts':
             profileStr+= \