# إخفاء 'موضوع جديد' عند عدم وجود إذن

**URL:** <https://meta.discourse.org/t/hide-new-topic-when-no-permission/304717>\
**Category:** UX\
**Created:** [20 أبريل 2024، 11:12ص UTC](https://meta.discourse.org/t/hide-new-topic-when-no-permission/304717 "2024-04-20T11:12:50Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![thoka](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thoka/32/115652_2.png) [@thoka](https://meta.discourse.org/u/thoka)\
**Post date:** [20 أبريل 2024، 12:10م UTC](https://meta.discourse.org/t/hide-new-topic-when-no-permission/304717/2 "2024-04-20T12:10:59Z")

</div>

أستخدم هذا الـ CSS لإخفاء الزر المعطل مع التلميح:

```CSS
.category-navigation button[disabled] {
    display: none;
    + span.fk-d-tooltip__trigger {
            display: none;
    }
}

```

---

_[View the full topic](https://meta.discourse.org/t/hide-new-topic-when-no-permission/304717)._
