Skip to content

Commit

Permalink
fix[Css]: fixed github-corner css bug
Browse files Browse the repository at this point in the history
  • Loading branch information
PanJiaChen committed Apr 2, 2019
1 parent 26d1bf0 commit a8c6e11
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/views/dashboard/admin/index.vue
Original file line number Diff line number Diff line change
@@ -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" />

Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit a8c6e11

Please sign in to comment.