@@ -1474,7 +1474,7 @@ function openShareModal() {
14741474 overflow-y: auto;
14751475 -webkit-overflow-scrolling: touch;
14761476 ` ;
1477-
1477+
14781478 // Adjust modal padding for mobile devices
14791479 if ( window . innerWidth <= 768 ) {
14801480 shareModal . style . padding = '10px' ;
@@ -1497,7 +1497,7 @@ function openShareModal() {
14971497 overflow: hidden;
14981498 margin: 10px;
14991499 ` ;
1500-
1500+
15011501 // Add responsive styles for mobile devices
15021502 if ( window . innerWidth <= 768 ) {
15031503 modalContent . style . maxHeight = 'min(85vh, 500px)' ;
@@ -1514,7 +1514,7 @@ function openShareModal() {
15141514 align-items: center;
15151515 flex-shrink: 0;
15161516 ` ;
1517-
1517+
15181518 // Adjust header padding for mobile devices
15191519 if ( window . innerWidth <= 768 ) {
15201520 header . style . padding = '16px 20px' ;
@@ -1548,7 +1548,7 @@ function openShareModal() {
15481548 min-height: 0;
15491549 scroll-behavior: smooth;
15501550 ` ;
1551-
1551+
15521552 // Adjust padding for mobile devices
15531553 if ( window . innerWidth <= 768 ) {
15541554 content . style . padding = '16px 20px' ;
@@ -1615,7 +1615,7 @@ function openShareModal() {
16151615 grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
16161616 gap: 10px;
16171617 ` ;
1618-
1618+
16191619 // Adjust grid layout for mobile devices
16201620 if ( window . innerWidth <= 480 ) {
16211621 buttonsContainer . style . gridTemplateColumns = 'repeat(2, 1fr)' ;
@@ -1709,14 +1709,14 @@ function openShareModal() {
17091709 word-wrap: break-word;
17101710 hyphens: auto;
17111711 ` ;
1712-
1712+
17131713 // Adjust button styles for mobile devices
17141714 if ( window . innerWidth <= 480 ) {
17151715 button . style . fontSize = '0.8em' ;
17161716 button . style . padding = '10px 6px' ;
17171717 button . style . minHeight = '40px' ;
17181718 }
1719-
1719+
17201720 button . onclick = ( event : Event ) => platform . action ( event ) ;
17211721 button . onmouseenter = ( ) => ( button . style . opacity = '0.8' ) ;
17221722 button . onmouseleave = ( ) => ( button . style . opacity = '1' ) ;
0 commit comments