Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Kosette committed Sep 24, 2024
2 parents a7a5921 + 46fc2a5 commit 5e89666
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 3 deletions.
24 changes: 23 additions & 1 deletion app/components/plugin.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,29 @@
max-height: 240px;
overflow-y: auto;
white-space: pre-wrap;
min-width: 300px;
min-width: 280px;
}
}

.plugin-schema {
display: flex;
justify-content: flex-end;
flex-direction: row;

input {
margin-right: 20px;

@media screen and (max-width: 600px) {
margin-right: 0px;
}
}

@media screen and (max-width: 600px) {
flex-direction: column;
gap: 5px;

button {
padding: 10px;
}
}
}
4 changes: 2 additions & 2 deletions app/components/plugin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -345,10 +345,10 @@ export function PluginPage() {
</List>
<List>
<ListItem title={Locale.Plugin.EditModal.Content}>
<div style={{ display: "flex", justifyContent: "flex-end" }}>
<div className={pluginStyles["plugin-schema"]}>
<input
type="text"
style={{ minWidth: 200, marginRight: 20 }}
style={{ minWidth: 200 }}
onInput={(e) => setLoadUrl(e.currentTarget.value)}
></input>
<IconButton
Expand Down

0 comments on commit 5e89666

Please sign in to comment.