rstudio/shiny

Printing within Chrome causes href to be displayed on download button

開放

#2,447 建立於 2019年5月24日

 (1 則留言) (0 個反應) (0 位負責人)R (1,890 個分叉)batch import
Effort: LowHelp WantedPriority: LowType: Bug :bug:

倉庫指標

星標
 (5,649 顆星)
PR 合併指標
 (平均合併 9天) (30 天內合併 4 個 PR)

描述

System details

Browser Version: Chrome (only one tested)

Example application or steps to reproduce the problem

Screen Shot 2019-05-24 at 2 37 31 PM

Describe the problem in detail

Community post: https://community.rstudio.com/t/download-button-appears-with-session-information-when-printing-paper/30873

Known fix: https://stackoverflow.com/questions/7301989/need-to-remove-href-values-when-printing-in-chrome

@media print {
  a[href]:after {
    content: none !important;
  }
}

貢獻者指南