From 311114504545820b9289ffdd21b88d0c6a3cb41d Mon Sep 17 00:00:00 2001 From: Antonio De Lucreziis Date: Wed, 21 Feb 2024 22:43:26 +0100 Subject: [PATCH] fix: style changes --- src/components/Sidebar.jsx | 6 +----- src/element.scss | 8 ++++++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/components/Sidebar.jsx b/src/components/Sidebar.jsx index d61083e..b8709a7 100644 --- a/src/components/Sidebar.jsx +++ b/src/components/Sidebar.jsx @@ -18,11 +18,7 @@ export const Sidebar = ({ rooms, ...rest }) => {
{rooms.map(room => (
-

- - Stanza "{room.number}" - -

+

Stanza "{room.number}"

{SIDEBAR_LABELS.buildings[room.building] ?? 'Ignoto'},{' '} {SIDEBAR_LABELS.floors[room.floor] ?? 'Ignoto'} diff --git a/src/element.scss b/src/element.scss index 09f24a2..c30766a 100644 --- a/src/element.scss +++ b/src/element.scss @@ -680,7 +680,7 @@ code { display: flex; flex-direction: column; - gap: 1rem; + gap: 1.5rem; &.hidden { opacity: 0; @@ -694,6 +694,10 @@ code { .room { @extend .text; + + h2 { + color: var(--unipi-500); + } } } } @@ -794,7 +798,7 @@ code { } h3 { - font-weight: 600; + font-weight: 400; } }