fix plugins management page

This commit is contained in:
Pig Fang 2020-04-23 11:34:42 +08:00
parent beb2c96aef
commit 57632d52bc

View File

@ -11,7 +11,7 @@ interface Props {
baseUrl: string
}
const InfoBox: React.FC<Props> = props => {
const InfoBox: React.FC<Props> = (props) => {
const { plugin } = props
const handleChange = (event: React.ChangeEvent<HTMLInputElement>) => {
@ -74,7 +74,12 @@ const InfoBox: React.FC<Props> = props => {
</a>
</div>
</div>
<div className={`mt-2 ${styles.description}`}>{plugin.description}</div>
<div
className={`mt-2 ${styles.description}`}
title={plugin.description}
>
{plugin.description}
</div>
</div>
</div>
)