Clean up the outline view #19

Merged
glen merged 23 commits from outline-cleanup_on_main into main 2024-11-15 03:32:48 +00:00
2 changed files with 5 additions and 1 deletions
Showing only changes of commit 2b083be998 - Show all commits

View File

@ -47,6 +47,10 @@ body {
}
/* KLUDGE */
/*
for convenience, we're using emoji as temporary icons for some buttons. these
buttons need to be displayed in an emoji font
*/
#add-remove > button.emoji {
font-family: 'Noto Emoji', sans-serif;
}

View File

@ -173,7 +173,7 @@ pub fn AddRemove() -> View {
}
) { "+" }
button(
class="emoji", /* KLUDGE */
class="emoji", /* KLUDGE */ // for convenience, we're using an emoji as a temporary icon for this button
disabled={
glen marked this conversation as resolved
Review

Please elaborate all instances of KLUDGE

Please elaborate all instances of KLUDGE
Review

Done (in commit 2b083be).

Done (in commit 2b083be).
let state = use_context::<AppState>();
state.selection.with(|sel| sel.len() != 2)