langgenius / dify

Dify is an open-source LLM app development platform. Dify's intuitive interface combines AI workflow, RAG pipeline, agent capabilities, model management, observability features and more, letting you quickly go from prototype to production.
https://dify.ai
Other
50.98k stars 7.34k forks source link

How to remove the scrollbar? It doen't look good. #8454

Closed taowang1993 closed 1 week ago

taowang1993 commented 1 month ago

Self Checks

Dify version

0.8.2

Cloud or Self Hosted

Cloud, Self Hosted (Docker)

Steps to reproduce

I want to disable the scrollbar, but still be able to scroll. How to achieve this? This doesn't look good.

image

✔️ Expected Behavior

No response

❌ Actual Behavior

No response

dosubot[bot] commented 1 month ago

I found a similar closed issue that might be relevant to your problem: share chat 页面有横向、纵向滚动条. This issue was resolved by a pull request: fix style in app share [1].

To hide the scrollbar while still allowing scrolling, you can use the following CSS:

/* Hide scrollbar for Chrome, Safari and Opera */
.example::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.example {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

Apply this CSS to the relevant container in your chat interface. Replace .example with the appropriate class or ID of the container where you want to hide the scrollbar.

To continue talking to Dosu, mention @dosu.

taowang1993 commented 1 month ago

I am referring to the vertical scrollbar

crazywoola commented 1 month ago

Can you paste a full screenshot.

taowang1993 commented 1 month ago

Can you paste a full screenshot.

This is the iframe embed chatbot

image