add clipboard copy functionality and restrict firewall commands to localhost
This commit is contained in:
parent
f57d2fc6be
commit
2304717de5
3 changed files with 63 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue