Skip to content

Commit

Permalink
Add underline for label in Explore mode (asreview#1561)
Browse files Browse the repository at this point in the history
  • Loading branch information
J535D165 authored Nov 2, 2023
1 parent e6a4f9c commit ec97184
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions asreview/webapp/src/StyledComponents/StyledAlert.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
import * as React from "react";
import { Alert } from "@mui/material";
import { Alert, Box } from "@mui/material";

export function ExplorationModeRecordAlert(props) {
return (
<Alert
severity="info"
sx={{ borderBottomRightRadius: 0, borderBottomLeftRadius: 0 }}
>
{`Labeled as ${props.label} in the dataset`}
Labeled as{" "}
{
<Box sx={{ textDecoration: "underline" }} display="inline">
{props.label}
</Box>
}{" "}
in the dataset
</Alert>
);
}

0 comments on commit ec97184

Please sign in to comment.