fix[Css]: fixed github-corner css bug

This commit is contained in:
Pan 2019-04-02 10:39:26 +08:00
parent 26d1bf09fd
commit a8c6e11ee6
1 changed files with 10 additions and 1 deletions

View File

@ -1,6 +1,6 @@
<template>
<div class="dashboard-editor-container">
<github-corner style="position: absolute; top: 0px; border: 0; right: 0;" />
<github-corner class="github-corner" />
<panel-group @handleSetLineChartData="handleSetLineChartData" />
@ -100,6 +100,15 @@ export default {
.dashboard-editor-container {
padding: 32px;
background-color: rgb(240, 242, 245);
position: relative;
.github-corner {
position: absolute;
top: 0px;
border: 0;
right: 0;
}
.chart-wrapper {
background: #fff;
padding: 16px 16px 0;