Browse Source

flexbox-ify forum post headers to fix phantom padding from badges

spaghetti 9 years ago
parent
commit
09fe37f427
2 changed files with 11 additions and 3 deletions
  1. 2
    1
      README.md
  2. 9
    2
      static/styles/global.css

+ 2
- 1
README.md View File

@@ -33,7 +33,8 @@ We use new PHP password hashing features that automatically rehash your password
33 33
 
34 34
 ## Minor Changes
35 35
 
36
-* When a torrent is trumped, the new torrent is made freeleech to users who snatched the old torrent for a few days
36
+* When a torrent is trumped, the new torrent is made freeleech to users who snatched the old torrent for a few days.
37
+* Sends headers to tell cloudflare to use HTTP/2 Server Push for most resources.
37 38
 * An attempt has been made to support magnet links. This has shown partial success.
38 39
 * This codebase is expected to run over https only.
39 40
 

+ 9
- 2
static/styles/global.css View File

@@ -601,19 +601,26 @@ tr.torrent .bookmark>a:after {
601 601
 	text-align: left;
602 602
 }
603 603
 
604
+.forum_post .colhead_dark div {
605
+  display: flex;
606
+}
607
+
608
+.forum_post .colhead_dark div > *{
609
+  margin-left: 2px;
610
+  margin-right: 2px;
611
+}
612
+
604 613
 .donor_icon {
605 614
 	margin-left: 2px;
606 615
 	margin-right: 2px;
607 616
 	max-width: 16px;
608 617
 	max-height: 16px;
609 618
 	position: relative;
610
-	top: 2px;
611 619
 }
612 620
 
613 621
 .badge_icon {
614 622
 	margin: 0px 2px;
615 623
 	position: relative;
616
-	top: 2px;
617 624
 }
618 625
 
619 626
 .donation_info {

Loading…
Cancel
Save