File tree Expand file tree Collapse file tree 2 files changed +12
-9
lines changed
javascripts/discourse/initializers Expand file tree Collapse file tree 2 files changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -23,9 +23,8 @@ function initializeTranslation(api) {
2323 { before : [ "search" ] }
2424 ) ;
2525 }
26-
2726 if ( siteSettings . experimental_topic_translation ) {
28- api . renderInOutlet ( "timeline-controls-before " , ShowOriginalContent ) ;
27+ api . renderInOutlet ( "topic-navigation " , ShowOriginalContent ) ;
2928 } else {
3029 customizePostMenu ( api ) ;
3130 }
Original file line number Diff line number Diff line change 33 max-height : 50vh ;
44}
55
6- .timeline-controls {
7- display : flex ;
6+ .topic-navigation.with-timeline .discourse-translator_toggle-original {
7+ margin-bottom : 0.5em ;
8+ }
89
9- .discourse-translator_toggle-original {
10- margin-right : 0.5em ;
10+ .topic-navigation.with-topic-progress
11+ .discourse-translator_toggle-original
12+ button {
13+ height : 100% ;
14+ }
1115
12- button .active svg {
13- color : var ( --tertiary );
14- }
16+ .discourse-translator_toggle-original {
17+ button .active svg {
18+ color : var ( --tertiary );
1519 }
1620}
You can’t perform that action at this time.
0 commit comments