add clipboard copy functionality and restrict firewall commands to localhost

This commit is contained in:
CPTN Cosmo 2026-04-18 16:51:10 +02:00
parent f57d2fc6be
commit 2304717de5
3 changed files with 63 additions and 2 deletions

View file

@ -262,4 +262,38 @@ input:focus {
.code-block code {
color: #34d399;
word-break: break-all;
}
.code-wrapper {
display: flex;
justify-content: space-between;
align-items: center;
gap: 1rem;
}
.btn-copy {
background: transparent;
border: none;
color: var(--text-muted);
cursor: pointer;
padding: 0.25rem;
border-radius: 4px;
transition: all 0.2s;
display: flex;
align-items: center;
justify-content: center;
}
.btn-copy:hover {
background-color: rgba(255, 255, 255, 0.1);
color: var(--text-main);
}
.btn-copy:active {
transform: scale(0.95);
}
.btn-copy.copied {
color: var(--status-online);
}