mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
lint
This commit is contained in:
parent
740d3ffaac
commit
ce95dbb032
2 changed files with 12 additions and 8 deletions
|
@ -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"
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue