Browse Source

Spacing in Social

Christian Matos 3 years ago
parent
commit
b28f98afb1
2 changed files with 12 additions and 12 deletions
  1. 6
    6
      platforms/browser/www/index.html
  2. 6
    6
      www/index.html

+ 6
- 6
platforms/browser/www/index.html View File

654
                         //If it's none of them then it will not display anything
654
                         //If it's none of them then it will not display anything
655
                         //First Social Media
655
                         //First Social Media
656
                         if(red1.includes("facebook")){
656
                         if(red1.includes("facebook")){
657
-                            data+='<br><a href="'+ red1 + '"><img src="img/facebook.png" alt="Facebook"style="width:35px;height:35px;border:0;"><br>';
657
+                            data+='<a style="margin-right:10px;" href="'+ red1 + '"><img src="img/facebook.png" alt="Facebook"style="width:35px;height:35px;border:0;">';
658
                         }
658
                         }
659
                         else if(red1.includes("instagram")){
659
                         else if(red1.includes("instagram")){
660
-                            data+='<br><a href="'+ red1 + '"><img src="img/instagram.png" alt="Instagram"style="width:35px;height:35px;border:0;"><br>';
660
+                            data+='<a href="'+ red1 + '"><img src="img/instagram.png" alt="Instagram"style="width:35px;height:35px;border:0;">';
661
                         }
661
                         }
662
                         else if(red1.includes("myspace")){
662
                         else if(red1.includes("myspace")){
663
-                            data+='<br><a href="'+ red1 + '"><img src="img/MySpace.png" alt="MySpace"style="width:35px;height:35px;border:0;"><br>';
663
+                            data+='<a href="'+ red1 + '"><img src="img/MySpace.png" alt="MySpace"style="width:35px;height:35px;border:0;">';
664
                         }
664
                         }
665
 
665
 
666
                         //Second Social Media
666
                         //Second Social Media
667
                         if(red2.includes("facebook")){
667
                         if(red2.includes("facebook")){
668
-                            data+='<br><a href="'+ red2 + '"><img src="img/facebook.png" alt="Facebook"style="width:35px;height:35px;border:0;"><br>';
668
+                            data+='<a href="'+ red2 + '"><img src="img/facebook.png" alt="Facebook"style="width:35px;height:35px;border:0;">';
669
                         }
669
                         }
670
                         else if(red2.includes("instagram")){
670
                         else if(red2.includes("instagram")){
671
-                            data+='<br><a href="'+ red2 + '"><img src="img/instagram.png" alt="Instagram"style="width:35px;height:35px;border:0;"><br>';
671
+                            data+='<a href="'+ red2 + '"><img src="img/instagram.png" alt="Instagram"style="width:35px;height:35px;border:0;">';
672
                         }
672
                         }
673
                         else if(red2.includes("myspace")){
673
                         else if(red2.includes("myspace")){
674
-                            data+='<br><a href="'+ red2 + '"><img src="img/MySpace.png" alt="MySpace"style="width:35px;height:35px;border:0;"><br>';
674
+                            data+='<a href="'+ red2 + '"><img src="img/MySpace.png" alt="MySpace"style="width:35px;height:35px;border:0;">';
675
                         }
675
                         }
676
                         
676
                         
677
                         //E-commerce 
677
                         //E-commerce 

+ 6
- 6
www/index.html View File

654
                         //If it's none of them then it will not display anything
654
                         //If it's none of them then it will not display anything
655
                         //First Social Media
655
                         //First Social Media
656
                         if(red1.includes("facebook")){
656
                         if(red1.includes("facebook")){
657
-                            data+='<br><a href="'+ red1 + '"><img src="img/facebook.png" alt="Facebook"style="width:35px;height:35px;border:0;"><br>';
657
+                            data+='<a style="margin-right:10px;" href="'+ red1 + '"><img src="img/facebook.png" alt="Facebook"style="width:35px;height:35px;border:0;">';
658
                         }
658
                         }
659
                         else if(red1.includes("instagram")){
659
                         else if(red1.includes("instagram")){
660
-                            data+='<br><a href="'+ red1 + '"><img src="img/instagram.png" alt="Instagram"style="width:35px;height:35px;border:0;"><br>';
660
+                            data+='<a style="margin-right:10px;" href="'+ red1 + '"><img src="img/instagram.png" alt="Instagram"style="width:35px;height:35px;border:0;">';
661
                         }
661
                         }
662
                         else if(red1.includes("myspace")){
662
                         else if(red1.includes("myspace")){
663
-                            data+='<br><a href="'+ red1 + '"><img src="img/MySpace.png" alt="MySpace"style="width:35px;height:35px;border:0;"><br>';
663
+                            data+='<a style="margin-right:10px;" href="'+ red1 + '"><img src="img/MySpace.png" alt="MySpace"style="width:35px;height:35px;border:0;">';
664
                         }
664
                         }
665
 
665
 
666
                         //Second Social Media
666
                         //Second Social Media
667
                         if(red2.includes("facebook")){
667
                         if(red2.includes("facebook")){
668
-                            data+='<br><a href="'+ red2 + '"><img src="img/facebook.png" alt="Facebook"style="width:35px;height:35px;border:0;"><br>';
668
+                            data+='<a style="margin-right:10px;" href="'+ red2 + '"><img src="img/facebook.png" alt="Facebook"style="width:35px;height:35px;border:0;">';
669
                         }
669
                         }
670
                         else if(red2.includes("instagram")){
670
                         else if(red2.includes("instagram")){
671
-                            data+='<br><a href="'+ red2 + '"><img src="img/instagram.png" alt="Instagram"style="width:35px;height:35px;border:0;"><br>';
671
+                            data+='<a style="margin-right:10px;" href="'+ red2 + '"><img src="img/instagram.png" alt="Instagram"style="width:35px;height:35px;border:0;">';
672
                         }
672
                         }
673
                         else if(red2.includes("myspace")){
673
                         else if(red2.includes("myspace")){
674
-                            data+='<br><a href="'+ red2 + '"><img src="img/MySpace.png" alt="MySpace"style="width:35px;height:35px;border:0;"><br>';
674
+                            data+='<a style="margin-right:10px;" href="'+ red2 + '"><img src="img/MySpace.png" alt="MySpace"style="width:35px;height:35px;border:0;">';
675
                         }
675
                         }
676
                         
676
                         
677
                         //E-commerce 
677
                         //E-commerce