Skip to content

Commit

Permalink
fix: style changes
Browse files Browse the repository at this point in the history
  • Loading branch information
aziis98 committed Feb 21, 2024
1 parent 5ab26d6 commit 3111145
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 1 addition & 5 deletions src/components/Sidebar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,7 @@ export const Sidebar = ({ rooms, ...rest }) => {
<div class={clsx('sidebar', rest?.class)}>
{rooms.map(room => (
<div class="room">
<h2>
<a target="_blank" href={`${process.env.MANAGE_URL}/room/${room._id}`}>
Stanza "{room.number}"
</a>
</h2>
<h2>Stanza "{room.number}"</h2>
<h3>
{SIDEBAR_LABELS.buildings[room.building] ?? 'Ignoto'},{' '}
{SIDEBAR_LABELS.floors[room.floor] ?? 'Ignoto'}
Expand Down
8 changes: 6 additions & 2 deletions src/element.scss
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,7 @@ code {
display: flex;
flex-direction: column;

gap: 1rem;
gap: 1.5rem;

&.hidden {
opacity: 0;
Expand All @@ -694,6 +694,10 @@ code {

.room {
@extend .text;

h2 {
color: var(--unipi-500);
}
}
}
}
Expand Down Expand Up @@ -794,7 +798,7 @@ code {
}

h3 {
font-weight: 600;
font-weight: 400;
}
}

Expand Down

0 comments on commit 3111145

Please sign in to comment.