Skip to content

Commit

Permalink
fix: container of command input can't be position fix
Browse files Browse the repository at this point in the history
  • Loading branch information
linonetwo committed May 20, 2024
1 parent a1f5411 commit 1ab3216
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/commandpalette/styles/DefaultCommandPalette.css.tid
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@ title: $:/plugins/linonetwo/commandpalette/styles/DefaultCommandPalette.css
tags: $:/tags/Stylesheet

\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline html
:root {
--palette-radius: 5px;
}

.tw-commandpalette-default-container {
position: fixed;
position: absolute;
background:<<colour page-background>>;
z-index: 9999;
left: 50%;
Expand All @@ -19,6 +17,8 @@ tags: $:/tags/Stylesheet
border-radius: var(--palette-radius);
box-shadow: rgba(0, 0, 0, 0.15) 0px 0px 14px;
border: 4px solid transparent;

--palette-radius: 5px;
}
@media (max-width: 540px) {
.tw-commandpalette-default-container {
Expand Down

0 comments on commit 1ab3216

Please sign in to comment.