mirror of
https://github.com/wassname/talk.git
synced 2026-07-13 17:45:56 +08:00
Fixing permalink icon and adding padding to comment content.
This commit is contained in:
@@ -167,7 +167,7 @@ hr {
|
||||
}
|
||||
|
||||
.coral-plugin-commentcontent-text {
|
||||
margin-bottom: 10px;
|
||||
margin-bottom: 7px;
|
||||
}
|
||||
|
||||
.coral-plugin-author-name-text {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import React from 'react';
|
||||
const name = 'coral-plugin-content';
|
||||
const name = 'coral-plugin-commentcontent';
|
||||
|
||||
const Content = ({body, styles}) => {
|
||||
const textbreaks = body.split('\n');
|
||||
|
||||
@@ -49,8 +49,8 @@ class PermalinkButton extends React.Component {
|
||||
return (
|
||||
<div className={`${name}-container`}>
|
||||
<button onClick={this.toggle} className={`${name}-button`}>
|
||||
<i className={`${name}-icon material-icons`} aria-hidden={true}>link</i>
|
||||
{lang.t('permalink.permalink')}
|
||||
<i className={`${name}-icon material-icons`} aria-hidden={true}>link</i>
|
||||
</button>
|
||||
<div className={`${name}-popover ${styles.container} ${this.state.popoverOpen ? 'active' : ''}`}>
|
||||
<input
|
||||
|
||||
Reference in New Issue
Block a user