too many individual small fixes to bother counting them
This commit is contained in:
1 parent
acd1026d70
commit
d60053fb8d
30 files changed
+158
-1730
No files matched your search
@@ -67,7 +67,7 @@ div.indent {
|
||||
background: transparent;
|
||||
padding: 25px;
|
||||
border-radius: 5px;
|
||||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
||||
text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.floating-nav ul {
|
||||
@@ -142,3 +142,7 @@ div.indent {
|
||||
.copy-status {
|
||||
color: #7fd67f;
|
||||
}
|
||||
|
||||
section {
|
||||
scroll-margin-top: 80px;
|
||||
}
|
||||
@@ -95,19 +95,4 @@ export class PrivacyComponent implements OnInit, AfterViewInit {
|
||||
}, 2000);
|
||||
});
|
||||
}
|
||||
|
||||
copyToClipboard(text: string): void {
|
||||
navigator.clipboard.writeText(text).then(() => {
|
||||
if (text.includes('@')) {
|
||||
this.copiedSection = 'email';
|
||||
} else if (text.includes('+')) {
|
||||
this.copiedSection = 'phone';
|
||||
}
|
||||
|
||||
// Reset the copied section after 2 seconds
|
||||
setTimeout(() => {
|
||||
this.copiedSection = null;
|
||||
}, 2000);
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user