Skip to content

Commit 7d0e7e1

Browse files
committed
add indentation to bulleted list
1 parent f6643a3 commit 7d0e7e1

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

R/Message-class.R

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,12 @@ cli_note <- function(...) {
8181
clifun(
8282
head(unlist(alerttitle, use.names = FALSE), 1L)
8383
)
84+
id <- cli::cli_div(theme = list(div = list("margin-left" = 2L)))
8485
if (identical(length(comps), 3L))
8586
cli::cli_text(unlist(alerttitle, use.names = FALSE)[2L])
86-
cli::cli_bullets(dotlist)
87+
for (item in dotlist)
88+
cli::cli_li(item)
89+
cli::cli_end(id)
8790
}
8891
.self$msg
8992
},

0 commit comments

Comments
 (0)