fix: remove bad code@@ -1,6 +1,6 @@
// 3rd-party
-import { css } from "styled-components";
-import styledContainerQuery from "styled-container-query";
+import styled, { css } from "styled-components";
+// import styledContainerQuery from "styled-container-query";
// app
import { breakpoints, Colors } from "../utils/style";
@@ -94,11 +94,11 @@ const baseButtonCss = css<ButtonProps>`
// }
`;
-export const Button = styledContainerQuery.button<ButtonProps>`
+export const Button = styled.button<ButtonProps>`
${baseButtonCss};
`;
-export const ButtonAnchor = styledContainerQuery.a<ButtonProps>`
+export const ButtonAnchor = styled.a<ButtonProps>`
${baseButtonCss};
text-decoration: none;
&:hover {
@@ -5,6 +5,8 @@ todo:
- [x] make ssh git push work
- [ ] make ssh git push work every times
- [ ] find a way to output emoji to git sideband channel
+- [ ] add a "raw" view to the repository file browser
+- [ ] add a copy button to the repository file browser
- [x] make the islands runtime load dependencies properly
- [x] finish merge pull request feature
- [x] add ssh key feature
@@ -4841,7 +4841,7 @@ stubs@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/stubs/-/stubs-3.0.0.tgz#e8d2ba1fa9c90570303c030b6900f7d5f89abe5b"
-styled-components@>=5.3.5, styled-components@^5.3.5:
+styled-components@>=5.3.5:
version "5.3.5"
resolved "https://registry.yarnpkg.com/styled-components/-/styled-components-5.3.5.tgz#a750a398d01f1ca73af16a241dec3da6deae5ec4"
dependencies:
@@ -4856,6 +4856,22 @@ styled-components@>=5.3.5, styled-components@^5.3.5:
shallowequal "^1.1.0"
supports-color "^5.5.0"
+styled-components@^5.3.5:
+ version "5.3.11"
+ resolved "https://registry.yarnpkg.com/styled-components/-/styled-components-5.3.11.tgz#9fda7bf1108e39bf3f3e612fcc18170dedcd57a8"
+ integrity sha512-uuzIIfnVkagcVHv9nE0VPlHPSCmXIUGKfJ42LNjxCCTDTL5sgnJ8Z7GZBq0EnLYGln77tPpEpExt2+qa+cZqSw==
+ dependencies:
+ "@babel/helper-module-imports" "^7.0.0"
+ "@babel/traverse" "^7.4.5"
+ "@emotion/is-prop-valid" "^1.1.0"
+ "@emotion/stylis" "^0.8.4"
+ "@emotion/unitless" "^0.7.4"
+ babel-plugin-styled-components ">= 1.12.0"
+ css-to-react-native "^3.0.0"
+ hoist-non-react-statics "^3.0.0"
+ shallowequal "^1.1.0"
+ supports-color "^5.5.0"
+
styled-container-queries@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/styled-container-queries/-/styled-container-queries-1.0.0.tgz#b1a0ec16d1d89d6bc4fd8eead57171d4f1afe530"