Skip to content

Commit cd16b70

Browse files
authored
Update 明文源吗
1 parent adf8b6b commit cd16b70

File tree

1 file changed

+19
-4
lines changed

1 file changed

+19
-4
lines changed

明文源吗

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2175,6 +2175,9 @@
21752175
position: relative;
21762176
backdrop-filter: blur(10px);
21772177
animation: card-glow 4s ease-in-out infinite;
2178+
box-sizing: border-box;
2179+
width: 100%;
2180+
max-width: 100%;
21782181
}
21792182
@keyframes card-glow {
21802183
0%, 100% { box-shadow: 0 0 30px rgba(0, 255, 0, 0.5), inset 0 0 20px rgba(0, 255, 0, 0.1); }
@@ -2654,8 +2657,14 @@
26542657

26552658
if (clientType === atob('djJyYXk=')) {
26562659
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";
26592668

26602669
if (clientName === 'V2RAY') {
26612670
navigator.clipboard.writeText(finalUrl).then(function() {
@@ -2686,8 +2695,14 @@
26862695
} else {
26872696
var encodedUrl = encodeURIComponent(subscriptionUrl);
26882697
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";
26912706

26922707
if (clientType === atob('Y2xhc2g=')) {
26932708
if (clientName === 'STASH') {

0 commit comments

Comments
 (0)