fix(ui): make annotation text smaller to better match labels

This commit is contained in:
Łukasz Mierzwa
2018-07-20 11:34:26 +02:00
parent 0f2ebbcbc7
commit fbda7d1f73
2 changed files with 6 additions and 1 deletions

View File

@@ -0,0 +1,3 @@
.components-grid-annotation {
font-size: 90%;
}

View File

@@ -11,6 +11,8 @@ import { faExternalLinkAlt } from "@fortawesome/free-solid-svg-icons/faExternalL
import { faSearchPlus } from "@fortawesome/free-solid-svg-icons/faSearchPlus";
import { faSearchMinus } from "@fortawesome/free-solid-svg-icons/faSearchMinus";
import "./index.css";
const RenderNonLinkAnnotation = inject("alertStore")(
observer(
class RenderNonLinkAnnotation extends Component {
@@ -84,7 +86,7 @@ const RenderNonLinkAnnotation = inject("alertStore")(
const { name, value } = this.props;
const className =
"mr-1 mb-1 p-1 bg-light cursor-pointer d-inline-block rounded";
"mr-1 mb-1 p-1 bg-light cursor-pointer d-inline-block rounded components-grid-annotation";
if (!this.toggle.visible) {
return (