فهرست منبع

style widget & graph

AykutSarac 2 سال پیش
والد
کامیت
6d6e3c39cb
2فایلهای تغییر یافته به همراه5 افزوده شده و 1 حذف شده
  1. 1 0
      src/components/Graph/index.tsx
  2. 4 1
      src/pages/widget/[json].tsx

+ 1 - 0
src/components/Graph/index.tsx

@@ -30,6 +30,7 @@ const StyledEditorWrapper = styled.div<{ isWidget: boolean }>`
   position: absolute;
   position: absolute;
   width: 100%;
   width: 100%;
   height: ${({ isWidget }) => (isWidget ? "100vh" : "calc(100vh - 36px)")};
   height: ${({ isWidget }) => (isWidget ? "100vh" : "calc(100vh - 36px)")};
+  background: ${({ theme }) => theme.BACKGROUND_SECONDARY};
 
 
   :active {
   :active {
     cursor: move;
     cursor: move;

+ 4 - 1
src/pages/widget/[json].tsx

@@ -14,10 +14,13 @@ const StyledAttribute = styled.a`
   position: fixed;
   position: fixed;
   bottom: 0;
   bottom: 0;
   right: 0;
   right: 0;
-  background: rgba(255, 255, 255, 0.3);
+  color: ${({ theme }) => theme.INTERACTIVE_NORMAL};
+  background: ${({ theme }) => theme.SILVER_DARK};
   padding: 4px 8px;
   padding: 4px 8px;
   font-size: 14px;
   font-size: 14px;
   font-weight: 500;
   font-weight: 500;
+  border-radius: 3px 0 0 0;
+  opacity: 0.8;
 `;
 `;
 
 
 function inIframe() {
 function inIframe() {