File tree 3 files changed +14
-4
lines changed
app/services/discourse_rewind/action
javascripts/discourse/components/reports/top-words
3 files changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -5,11 +5,11 @@ module Action
5
5
class TopWords < BaseReport
6
6
FakeData = {
7
7
data : [
8
- { word : "what " , score : 100 } ,
9
- { word : "have " , score : 90 } ,
8
+ { word : "seven " , score : 100 } ,
9
+ { word : "longest " , score : 90 } ,
10
10
{ word : "you" , score : 80 } ,
11
11
{ word : "overachieved" , score : 70 } ,
12
- { word : "this " , score : 60 } ,
12
+ { word : "assume " , score : 60 } ,
13
13
{ word : "week" , score : 50 } ,
14
14
] ,
15
15
identifier : "top-words" ,
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ export default class WordCard extends Component {
47
47
}
48
48
49
49
get longWord () {
50
- return this .args .word .length >= 7 ;
50
+ return this .args .word .length >= 5 ;
51
51
}
52
52
53
53
get cardStyle () {
Original file line number Diff line number Diff line change 88
88
font-weight : normal ;
89
89
font-size : var (--font-down-1 );
90
90
}
91
+ .best-posts__post img {
92
+ max-width : 100% ;
93
+ height : auto ;
94
+ }
95
+ .best-posts__post code ,
96
+ .best-posts__post pre {
97
+ font-family : var (--pixel-text );
98
+ font-weight : normal ;
99
+ font-size : var (--font-down-1 );
100
+ }
91
101
.best-posts__metadata a {
92
102
font-family : var (--pixel-text );
93
103
text-transform : uppercase ;
You can’t perform that action at this time.
0 commit comments