mirror of
https://github.com/blossom-editor/blossom
synced 2024-11-17 14:39:21 +08:00
pref: 删除 overflow:overlay 用法
This commit is contained in:
parent
92ea3f6274
commit
60439c7dbd
@ -31,14 +31,14 @@ img {
|
||||
/* 定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸 */
|
||||
::-webkit-scrollbar {
|
||||
/* 滚动条宽度 */
|
||||
width: 7px;
|
||||
width: 5px;
|
||||
/* 滚动条高度 */
|
||||
height: 7px;
|
||||
height: 5px;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar:hover {
|
||||
width: 7px;
|
||||
height: 7px;
|
||||
width: 5px;
|
||||
height: 5px;
|
||||
}
|
||||
|
||||
/* 定义滑块 内阴影+圆角 */
|
||||
|
@ -125,8 +125,7 @@ const copyIcon = (icon: string) => {
|
||||
align-content: flex-start;
|
||||
flex-wrap: wrap;
|
||||
background-color: var(--bl-html-color);
|
||||
overflow: scroll;
|
||||
overflow-y: overlay;
|
||||
overflow-y: scroll;
|
||||
|
||||
.icon-item {
|
||||
@include flex(column, space-between, center);
|
||||
|
@ -242,7 +242,7 @@ const showWebCollectCard = (card: boolean) => {
|
||||
|
||||
.web-item-container {
|
||||
@include box(100%, calc(100% - 31px));
|
||||
overflow-y: overlay;
|
||||
overflow-y: scroll;
|
||||
|
||||
.placeholder {
|
||||
@include font(15px, 300);
|
||||
|
@ -191,7 +191,7 @@ const cancelDownload = async () => {
|
||||
@include flex(column, flex-start, flex-start);
|
||||
align-content: flex-start;
|
||||
flex-wrap: wrap;
|
||||
overflow-x: overlay;
|
||||
overflow-x: scroll;
|
||||
padding: 10px;
|
||||
|
||||
.bak-item {
|
||||
|
@ -106,8 +106,8 @@ onMounted(() => {
|
||||
|
||||
.history-list {
|
||||
@include box(100%, calc(100% - 80px - 21px));
|
||||
overflow-y: overlay;
|
||||
padding: 10px 15px 10px 10px;
|
||||
overflow-y: scroll;
|
||||
|
||||
.history-item {
|
||||
@include box(100%, 55px);
|
||||
|
@ -111,7 +111,7 @@ const download = (id: string) => {
|
||||
@include flex(column, flex-start, flex-start);
|
||||
align-content: flex-start;
|
||||
flex-wrap: wrap;
|
||||
overflow-x: overlay;
|
||||
overflow-x: scroll;
|
||||
padding: 10px;
|
||||
|
||||
.recycle-item {
|
||||
|
@ -87,7 +87,7 @@ onMounted(() => {
|
||||
@include box(100%, 100%);
|
||||
font-size: 15px;
|
||||
padding: 30px;
|
||||
overflow-y: overlay;
|
||||
overflow-y: scroll;
|
||||
overflow-x: hidden;
|
||||
line-height: 23px;
|
||||
|
||||
|
@ -59,7 +59,7 @@ const openArticleLogWindow = () => {
|
||||
background-color: var(--bl-editor-gutters-bg-color);
|
||||
|
||||
.status-item-container {
|
||||
overflow-x: overlay;
|
||||
overflow-x: hidden;
|
||||
white-space: nowrap;
|
||||
|
||||
& > div {
|
||||
|
@ -400,7 +400,7 @@ const handleShowHotKeyDialog = () => {
|
||||
padding: 0 5px;
|
||||
position: absolute;
|
||||
z-index: 2;
|
||||
overflow-x: overlay;
|
||||
overflow: hidden;
|
||||
|
||||
& > div {
|
||||
@include themeColor(#5b5b5b, #909090);
|
||||
|
@ -74,7 +74,7 @@ export const cwTheme: any = {
|
||||
width: '40px'
|
||||
},
|
||||
'.cm-scroller': {
|
||||
overflow: 'overlay',
|
||||
// overflow: 'scroll',
|
||||
outline: 'none'
|
||||
},
|
||||
'.cm-foldGutter': {
|
||||
|
@ -105,7 +105,7 @@
|
||||
@include box(50%, 100%);
|
||||
font-family: inherit;
|
||||
font-size: inherit;
|
||||
overflow: overlay;
|
||||
overflow: scroll;
|
||||
z-index: 2;
|
||||
|
||||
/* 定义滑块 内阴影+圆角 */
|
||||
|
@ -9,7 +9,7 @@
|
||||
.content-view {
|
||||
@include box(100%, calc(100% - 25px));
|
||||
@include themeBg(#f9f9f9, #262626);
|
||||
overflow-y: overlay;
|
||||
overflow-y: scroll;
|
||||
overflow-x: hidden;
|
||||
padding: 10px;
|
||||
}
|
||||
|
@ -6,7 +6,7 @@
|
||||
height 0.2s;
|
||||
|
||||
.toc-content {
|
||||
overflow-y: overlay;
|
||||
overflow-y: scroll;
|
||||
|
||||
.toc-1,
|
||||
.toc-2,
|
||||
|
@ -146,7 +146,6 @@
|
||||
:deep(.is-current) {
|
||||
& > .el-tree-node__content {
|
||||
border-radius: 5px;
|
||||
// background-color: var(--el-color-primary-light-8);
|
||||
|
||||
&:has(.menu-divider) {
|
||||
background-color: transparent;
|
||||
@ -165,7 +164,6 @@
|
||||
|
||||
&::-webkit-scrollbar {
|
||||
width: 5px;
|
||||
height: 3px;
|
||||
}
|
||||
|
||||
/* 定义滑块 内阴影+圆角 */
|
||||
|
@ -7,7 +7,7 @@
|
||||
color: var(--bl-text-color);
|
||||
font-size: 12px;
|
||||
text-align: right;
|
||||
overflow: overlay;
|
||||
overflow: scroll;
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
|
@ -87,7 +87,7 @@ defineExpose({ reload })
|
||||
flex-wrap: wrap;
|
||||
align-content: flex-start;
|
||||
overflow: hidden;
|
||||
overflow-y: overlay;
|
||||
overflow-y: scroll;
|
||||
padding-top: 10px;
|
||||
}
|
||||
|
||||
|
@ -90,7 +90,7 @@ const toToc = (articleId: number) => {
|
||||
flex-wrap: wrap;
|
||||
align-content: flex-start;
|
||||
overflow: hidden;
|
||||
overflow-y: overlay;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
|
||||
.placeholder {
|
||||
|
@ -221,7 +221,7 @@ const fold = () => {
|
||||
.chart-container {
|
||||
@include box(100%, calc(100% - 315px));
|
||||
overflow-x: hidden;
|
||||
overflow-y: overlay;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -140,7 +140,7 @@ const notes = ref<any>([])
|
||||
padding-left: 40px;
|
||||
z-index: 3;
|
||||
overflow: auto;
|
||||
overflow-y: overlay;
|
||||
overflow-y: scroll;
|
||||
|
||||
.placeholder {
|
||||
@include font(14px, 300);
|
||||
@ -236,7 +236,7 @@ const notes = ref<any>([])
|
||||
white-space: pre-line;
|
||||
word-wrap: break-word;
|
||||
overflow: auto;
|
||||
overflow-y: overlay;
|
||||
overflow-y: scroll;
|
||||
user-select: text;
|
||||
cursor: cell;
|
||||
}
|
||||
|
@ -294,8 +294,8 @@
|
||||
|
||||
.status-item-container {
|
||||
height: 100%;
|
||||
overflow-x: overlay;
|
||||
white-space: nowrap;
|
||||
overflow-x: hidden;
|
||||
|
||||
& > div {
|
||||
height: 100%;
|
||||
|
@ -102,7 +102,7 @@ const delDaily = (id: number) => {
|
||||
.daily-container {
|
||||
@include box(100%, 100%);
|
||||
overflow: scroll;
|
||||
overflow-y: overlay;
|
||||
overflow-y: scroll;
|
||||
|
||||
.title {
|
||||
width: 100%;
|
||||
@ -150,7 +150,7 @@ const delDaily = (id: number) => {
|
||||
white-space: normal;
|
||||
word-wrap: break-word;
|
||||
overflow: scroll;
|
||||
overflow-y: overlay;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
|
||||
.del {
|
||||
|
@ -191,7 +191,7 @@ const emits = defineEmits(['saved'])
|
||||
white-space: normal;
|
||||
word-wrap: break-word;
|
||||
overflow: scroll;
|
||||
overflow-y: overlay;
|
||||
overflow-y: scroll
|
||||
}
|
||||
|
||||
img {
|
||||
@ -208,7 +208,7 @@ const emits = defineEmits(['saved'])
|
||||
align-content: flex-start;
|
||||
flex-wrap: wrap;
|
||||
overflow: scroll;
|
||||
overflow-y: overlay;
|
||||
overflow-y: scroll;
|
||||
|
||||
div {
|
||||
margin: 1px;
|
||||
|
@ -184,7 +184,7 @@ defineExpose({
|
||||
align-content: flex-start;
|
||||
flex-wrap: wrap;
|
||||
overflow: scroll;
|
||||
overflow-y: overlay;
|
||||
overflow-y: scroll;
|
||||
padding: 10px;
|
||||
|
||||
.color {
|
||||
|
@ -145,7 +145,7 @@
|
||||
@include box(100%, calc(100% - 60px));
|
||||
@include flex(column, flex-start, center);
|
||||
position: relative;
|
||||
overflow-y: overlay;
|
||||
overflow-y: scroll;
|
||||
padding: 20px 0;
|
||||
|
||||
.drag-container {
|
||||
|
@ -168,7 +168,7 @@ const top = () => {
|
||||
white-space: pre-line;
|
||||
word-wrap: break-word;
|
||||
overflow: auto;
|
||||
overflow-y: overlay;
|
||||
overflow-y: scroll;
|
||||
user-select: text;
|
||||
}
|
||||
.time {
|
||||
|
@ -157,7 +157,7 @@ const emits = defineEmits(['saved'])
|
||||
align-content: flex-start;
|
||||
flex-wrap: wrap;
|
||||
overflow: scroll;
|
||||
overflow-y: overlay;
|
||||
overflow-y: scroll;
|
||||
padding: 10px 10px 8px 0;
|
||||
|
||||
.color {
|
||||
|
Loading…
Reference in New Issue
Block a user