mirror of
https://github.com/logseq/logseq.git
synced 2026-04-28 16:15:21 +00:00
enhance(ui): refactor the block/page/hashtag search modals with the shui popups
This commit is contained in:
@@ -35,22 +35,6 @@
|
||||
&[data-modal-name] {
|
||||
@apply bg-popover border overflow-x-hidden overflow-y-auto rounded-lg py-1;
|
||||
}
|
||||
|
||||
&[data-modal-name="commands"],
|
||||
&[data-modal-name="select-code-block-mode"] {
|
||||
@screen sm {
|
||||
width: 380px !important;
|
||||
max-width: 90vw !important;
|
||||
}
|
||||
}
|
||||
|
||||
&[data-modal-name="date-picker"] {
|
||||
@apply py-0;
|
||||
|
||||
.rc-datepicker {
|
||||
@apply my-0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.is-mobile {
|
||||
@@ -109,6 +93,12 @@ pre {
|
||||
}
|
||||
}
|
||||
|
||||
&[data-editor-popup-ref=page-search],
|
||||
&[data-editor-popup-ref=block-search],
|
||||
&[data-editor-popup-ref=page-search-hashtag] {
|
||||
@apply px-1 py-1 w-96;
|
||||
}
|
||||
|
||||
&[data-editor-popup-ref=datepicker] {
|
||||
@apply w-auto;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user