Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Todos los cambios notables de rblez-ui. Formato basado en [Keep a Changelog](htt

### Fixed
- `NotFound`: en móvil el arte y el texto se rompían en una columna de ~30px (cada palabra cortada). Causa: `.d-404` es un flex item (vía `display: contents` del marco del preview) y sin `width` ni `min-width` colapsaba; la media query de contenedor nunca se activaba. Ahora `.d-404` lleva `width: 100%; min-width: 0` y el layout apila arte y texto correctamente a 360/390px.
- Header de la docs: se apilaba en dos filas (logo y versión arriba, búsqueda/Star abajo) y el logo quedaba cortado arriba, en móvil y en escritorio. Causa: `.top` no tenía ninguna regla base (ni `display`, ni altura, ni padding), solo ajustes sueltos en media queries. Ahora `.top` es una fila `sticky` de 56px (`display: flex; justify-content: space-between`) con fondo difuminado y borde inferior, como `.pv__bar`.

### Added
- `NotFound`: página 404 con un 404 isométrico en 3D (vector generado desde Inter), rejilla isométrica y tema claro/oscuro. La docs lo usa para rutas inexistentes.
Expand Down
10 changes: 9 additions & 1 deletion apps/preview/src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,15 @@ code { font-family: var(--d-mono); font-size: .86em; }
background-image: url("/grain.png"); background-size: 128px 128px; image-rendering: auto;
}
[data-theme="dark"] .bg::after { opacity: .07; }
.top__left, .top__right { display: flex; align-items: center; gap: 12px; }
.top {
position: sticky; top: 0; z-index: 20;
display: flex; align-items: center; justify-content: space-between; gap: 12px;
height: 56px; padding: 0 16px; box-sizing: border-box;
background: color-mix(in srgb, var(--d-bg) 86%, transparent);
backdrop-filter: blur(10px);
border-bottom: 1px solid var(--d-line);
}
.top__left, .top__right { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; font: 700 13px/1 var(--d-sans); letter-spacing: -.01em; }
[data-theme="dark"] .brand img { filter: invert(1); }
.ver { font: 500 11px/1 var(--d-mono); color: var(--d-muted); padding: 3px 6px; border: 1px solid var(--d-line-2); border-radius: 999px; }
Expand Down
Loading