Skip to content

Commit a8c6e11

Browse files
committed
fix[Css]: fixed github-corner css bug
1 parent 26d1bf0 commit a8c6e11

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

src/views/dashboard/admin/index.vue

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<div class="dashboard-editor-container">
3-
<github-corner style="position: absolute; top: 0px; border: 0; right: 0;" />
3+
<github-corner class="github-corner" />
44

55
<panel-group @handleSetLineChartData="handleSetLineChartData" />
66

@@ -100,6 +100,15 @@ export default {
100100
.dashboard-editor-container {
101101
padding: 32px;
102102
background-color: rgb(240, 242, 245);
103+
position: relative;
104+
105+
.github-corner {
106+
position: absolute;
107+
top: 0px;
108+
border: 0;
109+
right: 0;
110+
}
111+
103112
.chart-wrapper {
104113
background: #fff;
105114
padding: 16px 16px 0;

0 commit comments

Comments
 (0)