changed border handling

This commit is contained in:
Florian Scholdei
2019-01-29 16:38:01 +01:00
parent 9959eb375b
commit d70c2bd624
4 changed files with 9 additions and 9 deletions

View File

@@ -11,8 +11,7 @@ type Props = {
const styles = {
wrapper: {
padding: "1rem 1.5rem 0.25rem 1.5rem",
border: "1px solid #eee",
borderRadius: "5px 5px 0 0"
borderBottom: "1px solid #dbdbdb"
}
};

View File

@@ -89,10 +89,10 @@ class BranchRoot extends React.Component<Props> {
const changesets = <Changesets repository={repository} branch={branch} />;
return (
<>
<div className="has-border-around is-round">
{this.renderBranchSelector()}
<Route path={`${url}/:page?`} component={() => changesets} />
</>
</div>
);
}

View File

@@ -93,7 +93,7 @@ class Sources extends React.Component<Props> {
if (currentFileIsDirectory) {
return (
<div className={"has-border-around"}>
<div className="has-border-around is-round">
{this.renderBranchSelector()}
<FileTree
repository={repository}

View File

@@ -87,10 +87,11 @@ $fa-font-path: "webfonts";
//border around options
.has-border-around {
border-top: 1px solid #eee;
border-left: 1px solid #eee;
border-right: 1px solid #eee;
border-bottom: 1px solid #eee;
border: 1px solid #dbdbdb;
&.is-round {
border-radius: 4px;
}
}
// multiline Columns