Skip to content

Commit

Permalink
delete space hunging out in card title
Browse files Browse the repository at this point in the history
  • Loading branch information
yo-goto committed Sep 11, 2021
1 parent 881350d commit 4d65147
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -276,13 +276,13 @@ body.plugin-card-view-mode-cardtitle {
&.embedded-note-titles {

.CodeMirror-scroll>h1 {
// /* たぶんここ↓をいじればサイズ変更できる */
// width: 400px;
width: 85%;

margin-left: 15px !important;
margin-right: 20px !important;
padding-top: 5px;
padding-bottom: 5px;
padding-right: 20px !important;
// background-color: var(--cardview-card-color-non-active);
}

Expand Down
2 changes: 2 additions & 0 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -210,10 +210,12 @@ body.plugin-card-view-mode-cardtitle.embedded-note-titles {
/* editor mode title card */
}
body.plugin-card-view-mode-cardtitle.embedded-note-titles .CodeMirror-scroll > h1 {
width: 85%;
margin-left: 15px !important;
margin-right: 20px !important;
padding-top: 5px;
padding-bottom: 5px;
padding-right: 20px !important;
}
body.plugin-card-view-mode-cardtitle.embedded-note-titles h1[id*=edit] {
font-family: var(--default-font);
Expand Down

0 comments on commit 4d65147

Please sign in to comment.