This repository was archived by the owner on Jun 28, 2021. It is now read-only.
File tree 7 files changed +20
-7
lines changed
7 files changed +20
-7
lines changed Original file line number Diff line number Diff line change 33
33
text-align : center ;
34
34
35
35
:global (li ){
36
- padding-left : 15px ;
37
36
padding-right : 15px ;
38
37
display : table-cell ;
39
38
}
Original file line number Diff line number Diff line change @@ -189,7 +189,13 @@ export default class Ayah extends Component {
189
189
) ;
190
190
}
191
191
192
- return content ;
192
+ return (
193
+ < Link
194
+ to = { `/${ this . props . ayah . surahId } :${ this . props . ayah . ayahNum } ` }
195
+ data-metrics-event-name = "Ayah:Link"
196
+ >
197
+ { content }
198
+ </ Link > ) ;
193
199
}
194
200
195
201
renderControls ( ) {
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ export default class Share extends Component {
18
18
const surahUrl = encodeURIComponent ( `http://quran.com/${ surahId } ` ) ;
19
19
20
20
return (
21
- < div className = { Style . shareContainer } >
21
+ < div className = { ` ${ Style . shareContainer } hidden-xs` } >
22
22
23
23
< i
24
24
onClick = { ( ) => this . onClickPopup ( `https://www.facebook.com/sharer/sharer.php?u=${ surahUrl } ` , 'Facebook' ) }
Original file line number Diff line number Diff line change
1
+ @import ' ../../styles/variables' ;
2
+
1
3
.shareContainer {
2
4
position : relative ;
3
- bottom : 2px ;
4
5
left : 5px ;
6
+ top : 2px ;
5
7
6
8
.iconContainer {
7
9
padding : 0 30px 10px 0 ;
30
32
}
31
33
32
34
}
33
-
34
-
Original file line number Diff line number Diff line change @@ -9,6 +9,11 @@ $transition-speed: 0.75s;
9
9
min-height : 0px ;
10
10
transition : max-height $transition-speed , height $transition-speed ;
11
11
12
+
13
+ @media (max-width : $screen-xs-max ) {
14
+ margin-bottom : 0 ;
15
+ }
16
+
12
17
& .show {
13
18
max-height : 600px ;
14
19
max-height : 70vh ;
Original file line number Diff line number Diff line change 5
5
padding : 50px 0px ;
6
6
font-size : 14px ;
7
7
margin : 0px ;
8
+
9
+ @media (max-width : $screen-xs-max ) {
10
+ padding : 10px 0 ;
11
+ }
8
12
}
9
13
10
14
.lastVisit {
Original file line number Diff line number Diff line change @@ -398,7 +398,6 @@ export default class Surah extends Component {
398
398
onReadingModeToggle = { toggleReadingMode }
399
399
/>
400
400
</ li >
401
- < li > |</ li >
402
401
< li > < Share surah = { surah } /> </ li >
403
402
</ ul >
404
403
</ Col >
You can’t perform that action at this time.
0 commit comments