fix(dashboard): improve visibility of inline code in announcements
- Update CSS for inline code elements in the welcome announcement section - Ensure proper contrast and emphasis in both light and dark modes - Fix issue where code blocks appeared as white boxes in dark mode
This commit is contained in:
@@ -638,4 +638,13 @@ watch(showProviderDialog, async (visible, wasVisible) => {
|
||||
.welcome-announcement-markdown {
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
.welcome-announcement-markdown :deep(p > code),
|
||||
.welcome-announcement-markdown :deep(li > code) {
|
||||
background-color: rgba(var(--v-theme-on-surface), 0.08) !important;
|
||||
color: rgb(var(--v-theme-primary)) !important;
|
||||
padding: 2px 4px;
|
||||
border-radius: 4px;
|
||||
font-weight: bold;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user