File tree Expand file tree Collapse file tree 7 files changed +20
-7
lines changed
Expand file tree Collapse file tree 7 files changed +20
-7
lines changed Original file line number Diff line number Diff line change 3333 text-align : center ;
3434
3535 :global (li ){
36- padding-left : 15px ;
3736 padding-right : 15px ;
3837 display : table-cell ;
3938 }
Original file line number Diff line number Diff line change @@ -189,7 +189,13 @@ export default class Ayah extends Component {
189189 ) ;
190190 }
191191
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 > ) ;
193199 }
194200
195201 renderControls ( ) {
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ export default class Share extends Component {
1818 const surahUrl = encodeURIComponent ( `http://quran.com/${ surahId } ` ) ;
1919
2020 return (
21- < div className = { Style . shareContainer } >
21+ < div className = { ` ${ Style . shareContainer } hidden-xs` } >
2222
2323 < i
2424 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+
13.shareContainer {
24 position : relative ;
3- bottom : 2px ;
45 left : 5px ;
6+ top : 2px ;
57
68 .iconContainer {
79 padding : 0 30px 10px 0 ;
3032 }
3133
3234}
33-
34-
Original file line number Diff line number Diff line change @@ -9,6 +9,11 @@ $transition-speed: 0.75s;
99 min-height : 0px ;
1010 transition : max-height $transition-speed , height $transition-speed ;
1111
12+
13+ @media (max-width : $screen-xs-max ) {
14+ margin-bottom : 0 ;
15+ }
16+
1217 & .show {
1318 max-height : 600px ;
1419 max-height : 70vh ;
Original file line number Diff line number Diff line change 55 padding : 50px 0px ;
66 font-size : 14px ;
77 margin : 0px ;
8+
9+ @media (max-width : $screen-xs-max ) {
10+ padding : 10px 0 ;
11+ }
812 }
913
1014 .lastVisit {
Original file line number Diff line number Diff line change @@ -398,7 +398,6 @@ export default class Surah extends Component {
398398 onReadingModeToggle = { toggleReadingMode }
399399 />
400400 </ li >
401- < li > |</ li >
402401 < li > < Share surah = { surah } /> </ li >
403402 </ ul >
404403 </ Col >
You can’t perform that action at this time.
0 commit comments