Преглед изворни кода

Fix #73: round user profile images

George S. Baugh пре 5 година
родитељ
комит
0ad5482cbe
2 измењених фајлова са 4 додато и 1 уклоњено
  1. 3 0
      www/styles/screen.css
  2. 1 1
      www/templates/posts.tx

+ 3 - 0
www/styles/screen.css

@@ -48,6 +48,7 @@ audio, video {
 #topkek {
 #topkek {
  background: rgb(0,0,0);
  background: rgb(0,0,0);
  box-shadow: 0 .25em .5em black;
  box-shadow: 0 .25em .5em black;
+ margin-top: .1rem;
 }
 }
 .toplel {
 .toplel {
  color: white;
  color: white;
@@ -121,6 +122,8 @@ audio, video {
  background-size: 1em;
  background-size: 1em;
  background-repeat: no-repeat;
  background-repeat: no-repeat;
  margin-left:1rem;
  margin-left:1rem;
+ border-radius: 50%;
+ padding-right: unset !important;
 }
 }
 .avatar {
 .avatar {
  width: 3em;
  width: 3em;

+ 1 - 1
www/templates/posts.tx

@@ -38,7 +38,7 @@
                     </select>
                     </select>
                 </form>
                 </form>
                 : }
                 : }
-                <span id="<: $post.id :>-<: $post.version :>-time" style="float:right; margin:.25rem;"><: $post.created :></span>
+                <span id="<: $post.id :>-<: $post.version :>-time" style="float:right;"><: $post.created :></span>
                 <a class='usericon <: $post.user :>' title='Posted by <: $post.user :>'></a>
                 <a class='usericon <: $post.user :>' title='Posted by <: $post.user :>'></a>
             </h3>
             </h3>
             : if ( !$post.video_href && !$post.is_image && !$post.is_video && $post.preview ) {
             : if ( !$post.video_href && !$post.is_image && !$post.is_video && $post.preview ) {