在Blogger上裁剪的图像

时间:2019-07-18 16:29:18

标签: html css image

为什么右边的图片(常用标签)被裁剪了?我该如何解决?它们也会在此处裁剪:https://howtoplaystation.blogspot.com/2019/07/blog-post.html在底部(在“您也可能喜欢”标签中) 提前非常感谢您!

我听说必须使用溢出:可见和位置:绝对。但是它们不起作用。

#item-thumbnail {
position: absolute;
overflow: visible;
}

div.item-thumbnail{
position: absolute;
overflow: visible;
}



div.ty-img{
position: absolute;
overflow: visible;
}

1 个答案:

答案 0 :(得分:0)

使用CSS代码将以下内容写入CSS b:skin ...

require('shiny')
require('shinyjs')

froncolor <- function(color){
  sprintf(paste(
    " var bgColor = '%s';",
    " var color = (bgColor.charAt(0) === '#') ? bgColor.substring(1, 7) : bgColor;",
    " var r = parseInt(color.substring(0, 2), 16);",
    " var g = parseInt(color.substring(2, 4), 16);",
    " var b = parseInt(color.substring(4, 6), 16);",
    " var uicolors = [r / 255, g / 255, b / 255];",
    " var c = uicolors.map((col) => {",
    "  if (col <= 0.03928) {",
    "    return col / 12.92;",
    "  }",
    "  return Math.pow((col + 0.055) / 1.055, 2.4);",
    " });",
    " var L = (0.2126 * c[0]) + (0.7152 * c[1]) + (0.0722 * c[2]);",
    " var colfont = (L > 0.179) ? '#000000' : '#ffffff';",
    " Shiny.setInputValue('Frontfont', colfont, {priority: 'event'});",
    sep = "\n"
  ), color)
}

ui <- fluidPage(
  useShinyjs(),
  textInput('ColorTyped', label = 'Enter hex code'), 
  h5('Font color result'),
  verbatimTextOutput('FontColorSelected')
)


server <- function(input, output) {

  observeEvent(input$ColorTyped, {
    runjs(froncolor(input$ColorTyped))
  })

  output$FontColorSelected <- renderPrint({ 
    input$Frontfont
  })

}

shinyApp(ui, server)

关于相对职位,您拥有以下内容:

.PopularPosts ul li img{
object-fit: fill!important;
}