Skip to content

Commit

Permalink
fileInput()'s button shouldn't have top-right or bottom-right borde…
Browse files Browse the repository at this point in the history
…r-radius (#3879)
  • Loading branch information
cpsievert committed Aug 24, 2023
1 parent b054e45 commit 9d923d0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# shiny (development version)

## New features and improvements

## Bug fixes

* `fileInput()` no longer has unwanted round corners applied to the `buttonLabel`. (#3879)

# shiny 1.7.5

Expand Down
6 changes: 6 additions & 0 deletions inst/www/shared/shiny_scss/shiny.scss
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,12 @@ pre.shiny-text-output {
}
}

// fileInput()'s button should never have a top-right or bottom-right border-radius
.btn-file {
border-top-right-radius: 0 !important;
border-bottom-right-radius: 0 !important;
}

/* Make sure the filename doesn't extend past the bounds of the container */
.shiny-input-container input[type=file] {
overflow: hidden;
Expand Down

0 comments on commit 9d923d0

Please sign in to comment.