Skip to content

Commit 460a93a

Browse files
authored
Revert the addition of spacing between icon and label in actionButton() (#4248)
* Revert the addition of spacing between icon and label in actionButton() * `yarn build` (GitHub Actions) --------- Co-authored-by: cpsievert <[email protected]>
1 parent 3ea4c8e commit 460a93a

File tree

9 files changed

+30
-41
lines changed

9 files changed

+30
-41
lines changed

R/input-action.R

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,7 @@ get_action_children <- function(label, icon) {
9393
# minimize the chance of breaking existing code.
9494
tagList(
9595
icon,
96-
tags$span(
97-
class = "shiny-icon-separator",
98-
class = if (length(label) > 0) "shiny-icon-spacer"
99-
),
96+
tags$span(class = "shiny-icon-separator"),
10097
label
10198
)
10299
} else {

inst/www/shared/shiny.js

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

inst/www/shared/shiny.js.map

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

inst/www/shared/shiny.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)