Commit 959b9a77 authored by suhuiguang's avatar suhuiguang

1.修改header和编辑居中

parent 16fec21d
.action-pane-data{ .action-pane-data{
position: absolute; position: absolute;
left: 45% !important; bottom: 5%;
top: 90% !important; left: 50%;
transform: translateX(-50%);
.action-list{ .action-list {
height: 40px; height: 40px;
padding: 0 1rem; padding: 0 1rem;
border-radius: 6px; border-radius: 6px;
......
...@@ -4,7 +4,8 @@ ...@@ -4,7 +4,8 @@
.topBox { .topBox {
position: absolute; position: absolute;
top: 34px; top: 34px;
left: 40%; left: 50%;
transform: translateX(-50%);
span { span {
display: inline-block; display: inline-block;
} }
...@@ -37,7 +38,8 @@ ...@@ -37,7 +38,8 @@
.bottomBox { .bottomBox {
position: absolute; position: absolute;
bottom: 34px; bottom: 34px;
left: 40%; left: 50%;
transform: translateX(-50%);
span { span {
display: inline-block; display: inline-block;
width: 177px; width: 177px;
......
...@@ -27,7 +27,7 @@ class ActionBar extends Component { ...@@ -27,7 +27,7 @@ class ActionBar extends Component {
render() { render() {
const { animationProps, activeAction = 'panoramic' } = this.props; const { animationProps, activeAction = 'panoramic' } = this.props;
return ( return (
<SidePane className="action-pane-data" {...animationProps}> <SidePane className="action-pane-data" left={false} top={false} {...animationProps}>
<div className="action-list"> <div className="action-list">
{ {
actionBars.map( a => { actionBars.map( a => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment