chore: Styling catalog

This commit is contained in:
2026-01-22 17:28:44 -05:00
parent 8ff710b970
commit 2ddb111433
3 changed files with 21 additions and 10 deletions

View File

@@ -1,11 +1,12 @@
import './App.css' import './App.css'
import Catalog from './pages/catalog/Catalog' import Catalog from './pages/catalog/Catalog'
// import NavBar from './components/nav_bar/NavBar' import NavBar from './components/nav_bar/NavBar'
import Login from './pages/login/Login' import Login from './pages/login/Login'
function App() { function App() {
return ( return (
<> <>
<NavBar/>
<Login/> <Login/>
<Catalog/> <Catalog/>
</> </>

View File

@@ -1,15 +1,20 @@
.layout { .layout {
display: flex; display: flex;
flex-direction: row;
gap: 2rem; gap: 2rem;
padding: 2rem; padding: 2rem;
max-width: 1400px;
margin: 0 auto; margin: 0 auto;
} }
.catalog { .catalog {
display: flex;
flex-direction: column;
flex: 2 1 0; /* ocupa ~2/3 del ancho disponible */ flex: 2 1 0; /* ocupa ~2/3 del ancho disponible */
min-width: 0; /* evita desbordamientos horizontales */ min-width: 0; /* evita desbordamientos horizontales */
background: rgba(255, 255, 255, 0.9);
border-radius: 24px;
box-shadow: 0 24px 48px rgba(0, 0, 0, 0.1);
} }
.order { .order {
@@ -17,9 +22,10 @@
position: sticky; position: sticky;
top: 2rem; /* se queda pegada al hacer scroll */ top: 2rem; /* se queda pegada al hacer scroll */
height: fit-content; /* sólo el alto que necesite su contenido */ height: fit-content; /* sólo el alto que necesite su contenido */
background: #fff; background: rgba(255, 255, 255, 0.9);
border: 1px solid violet; border: 1px solid violet;
border-radius: 8px; border-radius: 24px;
box-shadow: 0 24px 48px rgba(0, 0, 0, 0.1);
padding: 1.5rem; padding: 1.5rem;
} }

View File

@@ -1,6 +1,10 @@
.container { .container {
display: flex;
justify-content: center;
border: 2px solid blueviolet; border: 2px solid blueviolet;
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
border-radius: 32px;
box-shadow: 0 24px 48px rgba(0, 0, 0, 0.1);
} }