mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-08 14:35:45 +01:00
defined ButtonGroup in DiffFile
This commit is contained in:
@@ -11,7 +11,7 @@ import {
|
|||||||
import injectSheets from "react-jss";
|
import injectSheets from "react-jss";
|
||||||
import classNames from "classnames";
|
import classNames from "classnames";
|
||||||
import { translate } from "react-i18next";
|
import { translate } from "react-i18next";
|
||||||
import { Button } from "../buttons";
|
import { ButtonGroup, Button } from "../buttons";
|
||||||
|
|
||||||
const styles = {
|
const styles = {
|
||||||
panel: {
|
panel: {
|
||||||
@@ -241,7 +241,11 @@ class DiffFile extends React.Component<Props, State> {
|
|||||||
{this.renderChangeTag(file)}
|
{this.renderChangeTag(file)}
|
||||||
</div>
|
</div>
|
||||||
<div className={classNames("level-right", classes.buttonHeader)}>
|
<div className={classNames("level-right", classes.buttonHeader)}>
|
||||||
<Button action={this.toggleSideBySide} className="reduced-mobile">
|
<ButtonGroup connected={false}>
|
||||||
|
<Button
|
||||||
|
action={this.toggleSideBySide}
|
||||||
|
className="reduced-mobile"
|
||||||
|
>
|
||||||
<span className="icon is-small">
|
<span className="icon is-small">
|
||||||
<i
|
<i
|
||||||
className={classNames(
|
className={classNames(
|
||||||
@@ -255,6 +259,7 @@ class DiffFile extends React.Component<Props, State> {
|
|||||||
</span>
|
</span>
|
||||||
</Button>
|
</Button>
|
||||||
{fileControls}
|
{fileControls}
|
||||||
|
</ButtonGroup>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user