mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-21 22:30:41 +08:00
Fix minor issues with settings dropdown
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
This commit is contained in:
+2
-2
@@ -11,7 +11,7 @@ function loadCodeFont(): CodeFont {
|
||||
const storedCodeFont = window.localStorage.getItem("codefont");
|
||||
|
||||
if (storedCodeFont === null) {
|
||||
return "system";
|
||||
return "jetbrains";
|
||||
} else {
|
||||
return storedCodeFont as CodeFont;
|
||||
}
|
||||
@@ -27,5 +27,5 @@ export const codeFonts: {
|
||||
fontFamily: "JetBrains Mono",
|
||||
displayName: "JetBrains Mono",
|
||||
},
|
||||
{ storedName: "system", fontFamily: "monospace", displayName: "system" },
|
||||
{ storedName: "system", fontFamily: "monospace", displayName: "System" },
|
||||
];
|
||||
|
||||
@@ -61,6 +61,9 @@
|
||||
.fonts {
|
||||
width: 100%;
|
||||
}
|
||||
.fonts > .item {
|
||||
border-bottom: none;
|
||||
}
|
||||
.font {
|
||||
color: var(--color-foreground-5);
|
||||
cursor: pointer;
|
||||
|
||||
Reference in New Issue
Block a user