Skip to content

πŸ“š The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.

fix: css props order

Smaug6739a7e3e27b6887
diff --git a/frontend/app/styles/features/markdown.scss b/frontend/app/styles/features/markdown.scss
index ace57ccb..f8e16dbb 100644
--- a/frontend/app/styles/features/markdown.scss
+++ b/frontend/app/styles/features/markdown.scss
@@ -177,24 +177,24 @@
right: 8px;
z-index: 5;
display: inline-flex;
- align-items: center;
justify-content: center;
+ align-items: center;
width: 32px;
height: 32px;
padding: 6px;
- border-radius: 6px;
border: 1px solid var(--grey-dark);
- background: rgba(30, 30, 30, 0.7);
+ border-radius: 6px;
color: #a0a0a0;
- backdrop-filter: blur(4px);
+ background: rgb(30 30 30 / 70%);
cursor: pointer;
transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
+ backdrop-filter: blur(4px);
}
.code-copy-btn:hover {
- background: rgba(45, 45, 45, 0.9);
- color: #fff;
border-color: var(--grey);
+ color: #fff;
+ background: rgb(45 45 45 / 90%);
}
.code-copy-btn:active {
@@ -204,17 +204,17 @@
.code-copy-btn .btn-icon,
.code-copy-btn .btn-icon-success {
display: flex;
- align-items: center;
justify-content: center;
+ align-items: center;
transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
opacity 0.2s ease;
}
.code-copy-btn .btn-icon-success {
position: absolute;
+ color: var(--green);
opacity: 0;
transform: scale(0.5) rotate(-45deg);
- color: var(--green);
}
.code-copy-btn.copied {