Skip to content

feishuDocHoverLargeImg by leizingyiu

Details

Authorleizingyiu

LicenseGNU AGPLv3

Categoryfeishu.cn

Created

Updated

Size732 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

飞书doc文档,hover图片才放大

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         feishuDocHoverLargeImg
@version      20240521.09.42
@namespace    https://userstyles.world/user/leizingyiu
@description  飞书doc文档,hover图片才放大
@author       leizingyiu
@license      GNU AGPLv3
==/UserStyle== */

@-moz-document regexp(".*\\.feishu\\.cn/docx/.*") {

.image-block-container{
	padding: 0!important;
	transition:padding 1s ease;
}
.resizable-wrapper,.img{
	position: relative!important;
}
.img>img{
	max-height: 20vh!important;
	transition:max-height 1s ease;
}

/* 如果不需要hover放大,则注释掉下面内容 */

.grid-block:hover .image-block-container{
	padding:auto;
}

.grid-block:hover .img>img{
	max-height: 1000vh!important;
	width: 100%!important;
}


}

Reviews

No reviews yet.