Set up UI to allow dragging a channel to the root
This commit is contained in:
@@ -210,6 +210,14 @@ export default function contacts_panel(): any {
|
||||
right: SPACING,
|
||||
},
|
||||
},
|
||||
dragged_over_header: {
|
||||
margin: { top: SPACING },
|
||||
padding: {
|
||||
left: SPACING,
|
||||
right: SPACING,
|
||||
},
|
||||
background: background(layer, "hovered"),
|
||||
},
|
||||
subheader_row,
|
||||
leave_call: interactive({
|
||||
base: {
|
||||
@@ -279,7 +287,7 @@ export default function contacts_panel(): any {
|
||||
margin: {
|
||||
left: CHANNEL_SPACING,
|
||||
},
|
||||
}
|
||||
},
|
||||
},
|
||||
list_empty_label_container: {
|
||||
margin: {
|
||||
|
||||
@@ -2,7 +2,6 @@ import { with_opacity } from "../theme/color"
|
||||
import { background, border, foreground, text } from "./components"
|
||||
import { interactive, toggleable } from "../element"
|
||||
import { useTheme } from "../theme"
|
||||
import { text_button } from "../component/text_button"
|
||||
|
||||
const search_results = () => {
|
||||
const theme = useTheme()
|
||||
@@ -36,7 +35,7 @@ export default function search(): any {
|
||||
left: 10,
|
||||
right: 4,
|
||||
},
|
||||
margin: { right: SEARCH_ROW_SPACING }
|
||||
margin: { right: SEARCH_ROW_SPACING },
|
||||
}
|
||||
|
||||
const include_exclude_editor = {
|
||||
@@ -378,7 +377,7 @@ export default function search(): any {
|
||||
modes_container: {
|
||||
padding: {
|
||||
right: SEARCH_ROW_SPACING,
|
||||
}
|
||||
},
|
||||
},
|
||||
replace_icon: {
|
||||
icon: {
|
||||
|
||||
Reference in New Issue
Block a user