Skip to content

Commit

Permalink
fix: update for new custom query block style
Browse files Browse the repository at this point in the history
  • Loading branch information
pengx17 committed Sep 24, 2021
1 parent 352bd70 commit eab936d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 14 deletions.
20 changes: 13 additions & 7 deletions release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,6 @@ module.exports = {
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/github",
[
"@semantic-release/npm",
{
npmPublish: false,
},
],
[
"@semantic-release/git",
{
Expand All @@ -23,5 +16,18 @@ module.exports = {
],
},
],
[
"@semantic-release/exec",
{
prepareCmd:
"zip -qq -r logseq-dev-theme-${nextRelease.version}.zip logo.png *.css demo.png readme.md LICENSE package.json",
},
],
[
"@semantic-release/github",
{
assets: "logseq-dev-theme-*.zip",
},
],
],
};
9 changes: 2 additions & 7 deletions src/_queries.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

/* query */
.custom-query > div:first-child {
border: 2px solid var(--ls-secondary-background-color);
background-color: var(--ls-tertiary-background-color);
box-shadow: 0 0 0 2px var(--color-level-2);
background-color: var(--color-level-1);
border-radius: 8px;
padding: 1rem 1.5rem;
position: relative;
Expand All @@ -16,11 +16,6 @@
background: var(--ls-tertiary-background-color);
}

:is(#today-queries > div > div, .dsl-query .custom-query > .flex)
> div.initial {
margin-top: 12px;
}

.dsl-query .custom-query-title > .font-medium,
:not(.dsl-query) > .custom-query .custom-query-title {
display: inline-block;
Expand Down

0 comments on commit eab936d

Please sign in to comment.