Multiple UI Improvements (#3038)
Этот коммит содержится в:
коммит произвёл
Harrison Healey
родитель
c868620693
Коммит
5ea7d9bbef
@@ -17,6 +17,14 @@ import Scrollbars from 'react-custom-scrollbars';
|
||||
|
||||
import React from 'react';
|
||||
|
||||
export function renderView(props) {
|
||||
return (
|
||||
<div
|
||||
{...props}
|
||||
className='scrollbar--view'
|
||||
/>);
|
||||
}
|
||||
|
||||
export function renderThumbHorizontal(props) {
|
||||
return (
|
||||
<div
|
||||
@@ -211,6 +219,7 @@ export default class RhsThread extends React.Component {
|
||||
autoHideDuration={500}
|
||||
renderThumbHorizontal={renderThumbHorizontal}
|
||||
renderThumbVertical={renderThumbVertical}
|
||||
renderView={renderView}
|
||||
>
|
||||
<div className='post-right__scroll'>
|
||||
<RootPost
|
||||
|
||||
Ссылка в новой задаче
Block a user