bruno: fix css issue with patch file
This commit is contained in:
@@ -73,6 +73,11 @@ buildNpmPackage' rec {
|
||||
})
|
||||
];
|
||||
|
||||
patches = [
|
||||
# Workaround to fix css issue in bruno due to electron difference between Nix and mainstream. https://github.com/NixOS/nixpkgs/issues/324176
|
||||
./scroll-width-fix.patch
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace scripts/build-electron.sh \
|
||||
--replace-fail 'if [ "$1" == "snap" ]; then' 'exit 0; if [ "$1" == "snap" ]; then'
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
diff --git a/packages/bruno-app/src/globalStyles.js b/packages/bruno-app/src/globalStyles.js
|
||||
index c2b16781..936449ed 100644
|
||||
--- a/packages/bruno-app/src/globalStyles.js
|
||||
+++ b/packages/bruno-app/src/globalStyles.js
|
||||
@@ -163,32 +163,6 @@ const GlobalStyle = createGlobalStyle`
|
||||
}
|
||||
|
||||
|
||||
- // scrollbar styling
|
||||
- // the below media query target non-macos devices
|
||||
- // (macos scrollbar styling is the ideal style reference)
|
||||
- @media not all and (pointer: coarse) {
|
||||
- * {
|
||||
- scrollbar-width: thin;
|
||||
- scrollbar-color: ${(props) => props.theme.scrollbar.color};
|
||||
- }
|
||||
-
|
||||
- *::-webkit-scrollbar {
|
||||
- width: 5px;
|
||||
- }
|
||||
-
|
||||
- *::-webkit-scrollbar-track {
|
||||
- background: transparent;
|
||||
- border-radius: 5px;
|
||||
- }
|
||||
-
|
||||
- *::-webkit-scrollbar-thumb {
|
||||
- background-color: ${(props) => props.theme.scrollbar.color};
|
||||
- border-radius: 14px;
|
||||
- border: 3px solid ${(props) => props.theme.scrollbar.color};
|
||||
- }
|
||||
- }
|
||||
-
|
||||
-
|
||||
// codemirror
|
||||
.CodeMirror {
|
||||
.cm-variable-valid {
|
||||
Reference in New Issue
Block a user