mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-07 22:15:45 +01:00
add background color to information of content
This commit is contained in:
@@ -41,6 +41,9 @@ const styles = {
|
|||||||
isVerticalCenter: {
|
isVerticalCenter: {
|
||||||
display: "flex",
|
display: "flex",
|
||||||
alignItems: "center"
|
alignItems: "center"
|
||||||
|
},
|
||||||
|
hasBackground: {
|
||||||
|
backgroundColor: "#FBFBFB"
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -120,8 +123,14 @@ class Content extends React.Component<Props, State> {
|
|||||||
const fileSize = file.directory ? "" : <FileSize bytes={file.length} />;
|
const fileSize = file.directory ? "" : <FileSize bytes={file.length} />;
|
||||||
if (!collapsed) {
|
if (!collapsed) {
|
||||||
return (
|
return (
|
||||||
<div className={classNames("panel-block", classes.toCenterContent)}>
|
<div
|
||||||
<table className="table">
|
className={classNames(
|
||||||
|
"panel-block",
|
||||||
|
classes.toCenterContent,
|
||||||
|
classes.hasBackground
|
||||||
|
)}
|
||||||
|
>
|
||||||
|
<table className={classNames("table", classes.hasBackground)}>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td>{t("sources.content.path")}</td>
|
<td>{t("sources.content.path")}</td>
|
||||||
|
|||||||
Reference in New Issue
Block a user