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
 
33
 
34
 ## Minor Changes
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
 * An attempt has been made to support magnet links. This has shown partial success.
38
 * An attempt has been made to support magnet links. This has shown partial success.
38
 * This codebase is expected to run over https only.
39
 * This codebase is expected to run over https only.
39
 
40
 

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

601
 	text-align: left;
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
 .donor_icon {
613
 .donor_icon {
605
 	margin-left: 2px;
614
 	margin-left: 2px;
606
 	margin-right: 2px;
615
 	margin-right: 2px;
607
 	max-width: 16px;
616
 	max-width: 16px;
608
 	max-height: 16px;
617
 	max-height: 16px;
609
 	position: relative;
618
 	position: relative;
610
-	top: 2px;
611
 }
619
 }
612
 
620
 
613
 .badge_icon {
621
 .badge_icon {
614
 	margin: 0px 2px;
622
 	margin: 0px 2px;
615
 	position: relative;
623
 	position: relative;
616
-	top: 2px;
617
 }
624
 }
618
 
625
 
619
 .donation_info {
626
 .donation_info {

Loading…
Cancel
Save