|
2175 | 2175 | position: relative; |
2176 | 2176 | backdrop-filter: blur(10px); |
2177 | 2177 | animation: card-glow 4s ease-in-out infinite; |
| 2178 | + box-sizing: border-box; |
| 2179 | + width: 100%; |
| 2180 | + max-width: 100%; |
2178 | 2181 | } |
2179 | 2182 | @keyframes card-glow { |
2180 | 2183 | 0%, 100% { box-shadow: 0 0 30px rgba(0, 255, 0, 0.5), inset 0 0 20px rgba(0, 255, 0, 0.1); } |
|
2654 | 2657 |
|
2655 | 2658 | if (clientType === atob('djJyYXk=')) { |
2656 | 2659 | finalUrl = subscriptionUrl; |
2657 | | - document.getElementById("clientSubscriptionUrl").textContent = finalUrl; |
2658 | | - document.getElementById("clientSubscriptionUrl").style.display = "block"; |
| 2660 | + var urlElement = document.getElementById("clientSubscriptionUrl"); |
| 2661 | + urlElement.textContent = finalUrl; |
| 2662 | + urlElement.style.display = "block"; |
| 2663 | + urlElement.style.overflowWrap = "break-word"; |
| 2664 | + urlElement.style.wordBreak = "break-all"; |
| 2665 | + urlElement.style.overflowX = "auto"; |
| 2666 | + urlElement.style.maxWidth = "100%"; |
| 2667 | + urlElement.style.boxSizing = "border-box"; |
2659 | 2668 |
|
2660 | 2669 | if (clientName === 'V2RAY') { |
2661 | 2670 | navigator.clipboard.writeText(finalUrl).then(function() { |
|
2686 | 2695 | } else { |
2687 | 2696 | var encodedUrl = encodeURIComponent(subscriptionUrl); |
2688 | 2697 | finalUrl = SUB_CONVERTER_URL + "?target=" + clientType + "&url=" + encodedUrl + "&insert=false&config=" + encodeURIComponent(REMOTE_CONFIG_URL) + "&emoji=true&list=false&xudp=false&udp=false&tfo=false&expand=true&scv=false&fdn=false&new_name=true"; |
2689 | | - document.getElementById("clientSubscriptionUrl").textContent = finalUrl; |
2690 | | - document.getElementById("clientSubscriptionUrl").style.display = "block"; |
| 2698 | + var urlElement = document.getElementById("clientSubscriptionUrl"); |
| 2699 | + urlElement.textContent = finalUrl; |
| 2700 | + urlElement.style.display = "block"; |
| 2701 | + urlElement.style.overflowWrap = "break-word"; |
| 2702 | + urlElement.style.wordBreak = "break-all"; |
| 2703 | + urlElement.style.overflowX = "auto"; |
| 2704 | + urlElement.style.maxWidth = "100%"; |
| 2705 | + urlElement.style.boxSizing = "border-box"; |
2691 | 2706 |
|
2692 | 2707 | if (clientType === atob('Y2xhc2g=')) { |
2693 | 2708 | if (clientName === 'STASH') { |
|
0 commit comments