mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
[ticket/11552] Scrollbars for iOS devices
Show scroll bars for items with overflow on iOS devices with touch screen that do not show scroll bars by default PHPBB3-11552
This commit is contained in:
parent
74eb7012a3
commit
5f96769b93
1 changed files with 15 additions and 0 deletions
|
@ -751,3 +751,18 @@ div.dl_links {
|
|||
.dl_links li {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
/* Show scrollbars for items with overflow on iOS devices
|
||||
----------------------------------------*/
|
||||
.postbody .content::-webkit-scrollbar, #topicreview::-webkit-scrollbar, #post_details::-webkit-scrollbar, .codebox code::-webkit-scrollbar, .attachbox dd::-webkit-scrollbar, .attach-image::-webkit-scrollbar, #notification_list ul::-webkit-scrollbar {
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
-webkit-appearance: none;
|
||||
background: rgba(0, 0, 0, .1);
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.postbody .content::-webkit-scrollbar-thumb, #topicreview::-webkit-scrollbar-thumb, #post_details::-webkit-scrollbar-thumb, .codebox code::-webkit-scrollbar-thumb, .attachbox dd::-webkit-scrollbar-thumb, .attach-image::-webkit-scrollbar-thumb, #notification_list ul::-webkit-scrollbar-thumb {
|
||||
background: rgba(0, 0, 0, .3);
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue