Files
medusa-store/www/apps/ui/src/styles/globals.css
Shahed Nasser be33a56290 docs: changes to AI assistant icon + add button to code blocks (#11227)
* docs: changes to AI assistant icon + add button to code blocks

* fix code blocks in questions

* collapse code block in answer

* styling fixes

* fix new line at cursor position
2025-01-30 14:29:22 +02:00

51 lines
876 B
CSS

@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
html {
@apply antialiased;
text-rendering: optimizeLegibility;
}
.html {
@apply text-medusa-fg-base;
}
*::selection {
@apply bg-medusa-bg-highlight;
}
pre *::selection {
@apply !bg-medusa-contrast-bg-highlight;
}
* {
scrollbar-color: var(--docs-border-base) var(--docs-bg-base);
}
aside * {
scrollbar-color: var(--docs-border-base) var(--docs-bg-subtle);
}
body {
@apply text-ui-fg-base;
}
/* Hack to hide navbar / toc when some components like prompt are opened. */
body[data-scroll-locked] .z-20,
body[data-scroll-locked] .z-10 {
z-index: 0 !important;
}
body[data-modal="opened"] {
@apply !overflow-hidden text-ui-fg-base;
}
.text-wrap {
text-wrap: wrap;
}
}
.grecaptcha-badge {
visibility: hidden;
}