mirror of
https://github.com/wassname/talk.git
synced 2026-07-03 21:14:45 +08:00
Adding border radius to tag label.
This commit is contained in:
@@ -171,6 +171,18 @@ hr {
|
||||
float: right;
|
||||
}
|
||||
|
||||
/* Tag Labels */
|
||||
|
||||
.coral-plugin-tag-label {
|
||||
background-color: #4C1066;
|
||||
color: white;
|
||||
display: inline-block;
|
||||
margin: 10px 10px;
|
||||
padding: 5px 5px;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* Reply styles */
|
||||
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
import React from 'react';
|
||||
|
||||
import styles from './styles.css';
|
||||
|
||||
const TagLabel = ({isStaff}) => <div className={`${styles.staff}`}>
|
||||
const TagLabel = ({isStaff}) => <div className='coral-plugin-tag-label'>
|
||||
{isStaff ? 'Staff' : ''}
|
||||
</div>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user