Skip to content

Commit

Permalink
feat: nasconde il menu sia per chi non ha ruoli, che per chi ha il ru…
Browse files Browse the repository at this point in the history
…olo Citizen (#879)
  • Loading branch information
mamico authored Feb 21, 2025
1 parent b06d550 commit 272c49c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/theme/ItaliaTheme/_ar.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
body.is-authenticated {
// se l'utente è autenticato e c'è la classe no-user-roles, allora si tratta di un utente del sito che accede solo all'area riservata
&.no-user-roles {
// se l'utente è autenticato e c'è la classe no-user-roles o role-citizen, allora si tratta di un
// utente del sito (cittadino) che accede solo all'area riservata
&.no-user-roles, &.role-citizen {
#toolbar,
#sidebar {
display: none;
Expand Down

0 comments on commit 272c49c

Please sign in to comment.