소스 검색

Simpler gif fix

Zed 5 년 전
부모
커밋
7ad6f581c2
2개의 변경된 파일2개의 추가작업 그리고 7개의 파일을 삭제
  1. 1 6
      src/sass/tweet/media.scss
  2. 1 1
      src/views/general.nim

+ 1 - 6
src/sass/tweet/media.scss

@@ -33,12 +33,6 @@
     .image-attachment {
         width: 100%;
     }
-
-    .gallery-gif {
-        align-self: flex-start;
-        border-radius: 7px;
-        overflow: hidden;
-    }
 }
 
 .attachment {
@@ -108,6 +102,7 @@
 }
 
 .media-gif {
+    display: table;
     background-color: unset;
     width: unset;
 }

+ 1 - 1
src/views/general.nim

@@ -45,7 +45,7 @@ proc renderHead*(prefs: Prefs; cfg: Config; titleText=""; desc=""; video="";
     opensearchUrl = "http://" & cfg.hostname & "/opensearch"
 
   buildHtml(head):
-    link(rel="stylesheet", `type`="text/css", href="/css/style.css?v=2")
+    link(rel="stylesheet", `type`="text/css", href="/css/style.css?v=3")
     link(rel="stylesheet", `type`="text/css", href="/css/fontello.css?v=2")
     link(rel="apple-touch-icon", sizes="180x180", href="/apple-touch-icon.png")
     link(rel="icon", type="image/png", sizes="32x32", href="/favicon-32x32.png")