This commit is contained in:
Hachi-R 2025-02-15 22:19:06 -03:00
parent 740d3ffaac
commit ce95dbb032
2 changed files with 12 additions and 8 deletions

View file

@ -111,7 +111,11 @@ export const ThemeCard = ({ theme, onListUpdated }: ThemeCardProps) => {
<div className="theme-card__actions__right">
<Button
className={theme.code.startsWith("https://hydrathemes.shop/") ? "theme-card__actions__right--external" : ""}
className={
theme.code.startsWith("https://hydrathemes.shop/")
? "theme-card__actions__right--external"
: ""
}
onClick={() => window.electron.openEditorWindow(theme.id)}
title={t("edit_theme")}
theme="outline"

View file

@ -86,13 +86,13 @@ export default function ThemeEditor() {
defaultLanguage="css"
value={code}
onChange={handleEditorChange}
options={{
minimap: { enabled: false },
fontSize: 14,
lineNumbers: "on",
wordWrap: "on",
automaticLayout: true,
}}
options={{
minimap: { enabled: false },
fontSize: 14,
lineNumbers: "on",
wordWrap: "on",
automaticLayout: true,
}}
/>
<div className="theme-editor__footer">