From 81b536d1cf12428243b9d6791689da1532f05f3c Mon Sep 17 00:00:00 2001 From: bug_creator Date: Wed, 1 Dec 2021 19:32:08 +0800 Subject: [PATCH] fix hot --- app/static/interact.css | 20 +++++ app/templates/index/index_activities.html | 78 +++++++++---------- app/templates/index/index_follows.html | 79 ++++++++++---------- app/templates/index/index_posts.html | 34 ++++----- app/templates/index/index_transactions.html | 78 +++++++++---------- data-dev.sqlite | Bin 6885376 -> 6885376 bytes 6 files changed, 154 insertions(+), 135 deletions(-) diff --git a/app/static/interact.css b/app/static/interact.css index 8150cff..d5eeeb8 100644 --- a/app/static/interact.css +++ b/app/static/interact.css @@ -69,7 +69,27 @@ margin: 10px auto; font-size: 75%; line-height: 1; + max-width: 100%; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; } + +.not-very-hot-post{ + margin: 10px auto; + font-size: 75%; + line-height: 1; + max-width: 100%; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; +} + +a>h4{ + margin: 0; + padding: 0; +} + .inner3 .hot-post a { color: #0077e6; } diff --git a/app/templates/index/index_activities.html b/app/templates/index/index_activities.html index c7fd0a7..d64653f 100644 --- a/app/templates/index/index_activities.html +++ b/app/templates/index/index_activities.html @@ -351,45 +351,45 @@ {% endif %} {# hottest #} -
-

Hottest Posts

- - -
+
+

Hottest Posts

+ + +
{% endif %} diff --git a/app/templates/index/index_follows.html b/app/templates/index/index_follows.html index 5bdc561..166358a 100644 --- a/app/templates/index/index_follows.html +++ b/app/templates/index/index_follows.html @@ -354,46 +354,45 @@ {% endif %} {# hottest #} -
-

Hottest Posts

- - -
- +
+

Hottest Posts

+ + +
{% endif %} diff --git a/app/templates/index/index_posts.html b/app/templates/index/index_posts.html index d2c9bd8..27bd89f 100644 --- a/app/templates/index/index_posts.html +++ b/app/templates/index/index_posts.html @@ -460,36 +460,36 @@ diff --git a/app/templates/index/index_transactions.html b/app/templates/index/index_transactions.html index c015d49..b6a5b7a 100644 --- a/app/templates/index/index_transactions.html +++ b/app/templates/index/index_transactions.html @@ -349,45 +349,45 @@ {% endif %} {# hottest #} -
-

Hottest Posts

- - -
+
+

Hottest Posts

+ + +
{% endif %} diff --git a/data-dev.sqlite b/data-dev.sqlite index 551c045282c8bdb511e24c9da0e688dcb2f342a7..288a8b74fc0b458456f0c90db3eafd70b3e33bec 100644 GIT binary patch delta 1156 zcmbW$T~E_s6bJCOW3Y{Gor+Ts*d`+QLfO-G&t62>5T~dhh@z;-M3`_PnrOH&0yF9^ zh&myp(L{VhxiCRdu_hB@xF^CFP;L;tB9RY(e?$xdS0?@Sq9-{$eg3B%kNY$o5KH5# zvhJl9;~ohOh1jk}fe;@q7Ztr;52Zw9!|coZf1b*cC{yZ{i5j0{`v~tOKBq@?J7u@W z+3kOrt9BFa>K9J9_SW8UNyxOb0iEQKNFI^$9K<%?S@JpDqRT0}h#c*;Y9Il$kO)bj z13efZ8F(;)2?Q|18dwYKAO+Tg1vbD&NQE@m1nH0gnP3H*+H19kV`<5JEhF>`l$$jB#U=QOghVwHUsL*HuO&J(H6|lvqEt6gIcCHeYFMuub3ToEnIJd)GPj;pS9K znfdr=YzWBSQJq3vRe zLPqQ#Bs zARvKLjStH%Y5D3z=VoMeZpNiGv*8{s9pf}5J>xWG=sT@rSw^`Kq-jb$M}K52T@Xy} z799>kU6if1Y66@x@tm`$Z5n#3Af4CFGD5paHGVb{eu@tz-!+UGtojMPwla1@R~H5`W%Py;97 d6r6@yI0JPMg0oN$=b!-^Aq?l$meHoJvR`kTk8%J2 delta 704 zcmYk(zfTi!7{_t$j-ztz^{^;vt+rKA{8fAX@hz>W1+`eEh`+_3wc6@pI+!?Uf_1Tz zu}I9tLBarWa4|7>LqnnrCJw|jaWhdD2PcO90ricO!|U0eC(rYFDzkG+1vRfcu21=f zsZa6?dFe&bDlZ95O+>vgu8*Q@o#AhuyUdeMg+*ol7Z!fx!rUhG2% z`w@nT2*_YD7LWXw%)h*7dW4HrtHHZd?DVo37ukyz{xXtob_|YEy06fwXAvkltC( zGGfA>%!oe4N`Ds~E0+}>EgBj~tj=uvVmGoP`amhmdCT!p{N(b7lJ)D8Fsl3&2@D{K z6b@hz2XP38k;V{)aRf(k3>l2zII=i_lNdz~V>pFzoW>cP#W|eE1zf}>OyDxE;3}@+ XI&L73n<(HGZlj12?%3s}yHmNpbRZg;