mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-27 02:33:48 +02:00
Hover expand table text
This commit is contained in:
18
src/app.css
18
src/app.css
@@ -578,10 +578,6 @@ html.dark .x-friend-item > .detail > .extra,
|
|||||||
.el-table .cell {
|
.el-table .cell {
|
||||||
padding-left: 4px;
|
padding-left: 4px;
|
||||||
padding-right: 4px;
|
padding-right: 4px;
|
||||||
display: -webkit-box;
|
|
||||||
-webkit-box-orient: vertical;
|
|
||||||
-webkit-line-clamp: 1;
|
|
||||||
line-clamp: 1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-table th.el-table__cell {
|
.el-table th.el-table__cell {
|
||||||
@@ -601,10 +597,22 @@ html.dark .x-friend-item > .detail > .extra,
|
|||||||
background-color: var(--el-table-row-hover-bg-color) !important;
|
background-color: var(--el-table-row-hover-bg-color) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-table__row:hover .el-table__cell .cell {
|
.el-table .cell,
|
||||||
|
.data-table tr > td > span,
|
||||||
|
.data-table tr > td > div > span {
|
||||||
|
display: -webkit-box;
|
||||||
|
-webkit-box-orient: vertical;
|
||||||
|
-webkit-line-clamp: 1;
|
||||||
|
line-clamp: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.el-table__row:hover .el-table__cell .cell,
|
||||||
|
.data-table tr:hover > td > span,
|
||||||
|
.data-table tr:hover > td > div > span {
|
||||||
display: revert;
|
display: revert;
|
||||||
-webkit-line-clamp: unset;
|
-webkit-line-clamp: unset;
|
||||||
line-clamp: unset;
|
line-clamp: unset;
|
||||||
|
white-space: pre-line;
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-tabs__content {
|
.el-tabs__content {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="flex flex-col">
|
<div class="flex flex-col data-table">
|
||||||
<div v-if="$slots.toolbar" class="mb-2">
|
<div v-if="$slots.toolbar" class="mb-2">
|
||||||
<slot name="toolbar"></slot>
|
<slot name="toolbar"></slot>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user