1
0
Fork 0
mirror of https://github.com/SunRed/theme-dark-arc-gitea.git synced 2024-10-22 15:06:13 +02:00

Update for hiding Organizations related blocks

This commit is contained in:
Jieiku 2024-06-27 12:29:13 -07:00
parent 01e24d7b17
commit 748aebfeb5
2 changed files with 12 additions and 8 deletions

View file

@ -82,10 +82,12 @@ I created a feature request for a way to disable organizations because I don't u
I was promptly told to use css and my request was closed: https://github.com/go-gitea/gitea/issues/19391
This theme can hide organizations using CSS, you can uncomment it at the bottom of the theme:
This theme can hide organizations related blocks/links using CSS, you can uncomment it at the bottom of the theme:
```css
#dashboard-repo-list > div > div:first-child {
display: none !important;
}
#dashboard-repo-list > div > div:first-child {display: none !important}
a[href*="organizations"] {display: none !important}
.dashboard > .secondary-nav {display: none !important}
.milestones > .secondary-nav {display: none !important}
.issues > .secondary-nav {display: none !important}
```

View file

@ -610,7 +610,9 @@ strong.attention-caution, svg.attention-caution {
/* Uncomment to remove dashboard tabs */
/*
#dashboard-repo-list > div > div:first-child {
display: none !important;
}
#dashboard-repo-list > div > div:first-child {display: none !important}
a[href*="organizations"] {display: none !important}
.dashboard > .secondary-nav {display: none !important}
.milestones > .secondary-nav {display: none !important}
.issues > .secondary-nav {display: none !important}
*/