mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-01-20 06:22:10 +01:00
changed border handling
This commit is contained in:
@@ -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"
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -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>
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -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}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user