perf: use overflow: clip instead of hidden

This commit is contained in:
syuilo 2021-02-27 11:18:53 +09:00
parent 377b0399a0
commit 06e817af59
62 changed files with 217 additions and 105 deletions

View file

@ -401,7 +401,8 @@ export default defineComponent({
z-index: 65535;
max-width: 100%;
margin-top: calc(1em + 8px);
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
transition: top 0.1s ease, left 0.1s ease;
> ol {
@ -418,7 +419,8 @@ export default defineComponent({
align-items: center;
padding: 4px 12px;
white-space: nowrap;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
font-size: 0.9em;
cursor: default;
@ -427,7 +429,8 @@ export default defineComponent({
}
* {
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
text-overflow: ellipsis;
}

View file

@ -66,7 +66,8 @@ export default defineComponent({
<style lang="scss" scoped>
.eftoefju {
display: block;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
width: 100%;
&:hover {

View file

@ -342,7 +342,8 @@ export default defineComponent({
text-align: center;
word-break: break-all;
color: var(--fg);
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
> .ext {
opacity: 0.5;

View file

@ -261,7 +261,8 @@ export default defineComponent({
display: inline-block;
min-width: 16px;
max-width: 150px;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
white-space: nowrap;
text-overflow: ellipsis;
}

View file

@ -83,7 +83,8 @@ export default defineComponent({
> .text {
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
padding-right: 12px;
}

View file

@ -101,7 +101,8 @@ export default defineComponent({
top: 0;
border-radius: 100%;
z-index: 1;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
object-fit: cover;
width: 100%;
height: 100%;

View file

@ -126,7 +126,8 @@ export default defineComponent({
&.nowrap {
white-space: pre;
word-wrap: normal; // https://codeday.me/jp/qa/20190424/690106.html
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
text-overflow: ellipsis;
}

View file

@ -692,7 +692,8 @@ export default defineComponent({
> dd {
text-overflow: ellipsis;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
white-space: nowrap;
}

View file

@ -44,7 +44,8 @@ export default defineComponent({
height: $height;
border-radius: 4px 0 0 4px;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
color: #fff;
> .icon {

View file

@ -62,7 +62,8 @@ export default defineComponent({
width: 100%;
border-radius: 4px;
margin-top: 4px;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
> .download,
> .sensitive {
@ -77,7 +78,8 @@ export default defineComponent({
}
> b {
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
text-overflow: ellipsis;
}

View file

@ -143,7 +143,8 @@ export default defineComponent({
> a {
display: block;
cursor: zoom-in;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
width: 100%;
height: 100%;
background-position: center;

View file

@ -105,7 +105,8 @@ export default defineComponent({
grid-gap: 4px;
> * {
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
border-radius: 6px;
}

View file

@ -78,7 +78,8 @@ export default defineComponent({
align-items: center;
font-size: 3.5em;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
background-position: center;
background-size: cover;
width: 100%;

View file

@ -892,7 +892,8 @@ export default defineComponent({
.note {
position: relative;
transition: box-shadow 0.1s ease;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
contain: content;
&:focus-visible {
@ -952,7 +953,8 @@ export default defineComponent({
}
> span {
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
flex-shrink: 1;
text-overflow: ellipsis;
white-space: nowrap;

View file

@ -61,7 +61,8 @@ export default defineComponent({
display: block;
margin: 0 .5em 0 0;
padding: 0;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
font-size: 1em;
font-weight: bold;
text-decoration: none;
@ -90,7 +91,8 @@ export default defineComponent({
> .username {
margin: 0 .5em 0 0;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
text-overflow: ellipsis;
}

View file

@ -50,7 +50,8 @@ export default defineComponent({
display: flex;
margin: 0;
padding: 0;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
font-size: 0.95em;
> .avatar {

View file

@ -867,7 +867,8 @@ export default defineComponent({
.tkcbzcuz {
position: relative;
transition: box-shadow 0.1s ease;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
contain: content;
//
@ -954,7 +955,8 @@ export default defineComponent({
}
> span {
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
flex-shrink: 1;
text-overflow: ellipsis;
white-space: nowrap;
@ -1026,7 +1028,8 @@ export default defineComponent({
&.collapsed {
position: relative;
max-height: 9em;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
> .fade {
display: block;

View file

@ -257,7 +257,8 @@ export default defineComponent({
text-overflow: ellipsis;
white-space: nowrap;
min-width: 0;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
}
> .time {
@ -268,7 +269,8 @@ export default defineComponent({
> .text {
white-space: nowrap;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
text-overflow: ellipsis;
> [data-icon] {

View file

@ -112,7 +112,8 @@ export default defineComponent({
padding: 4px 8px;
border: solid 1px var(--divider);
border-radius: 4px;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
cursor: pointer;
&:hover {

View file

@ -127,7 +127,8 @@ export default defineComponent({
height: 64px;
margin-right: 4px;
border-radius: 4px;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
cursor: move;
&:hover > .remove {

View file

@ -390,7 +390,8 @@ export default defineComponent({
font-size: $ui-font-size;
line-height: 3rem;
text-overflow: ellipsis;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
white-space: nowrap;
width: 100%;
text-align: left;

View file

@ -67,7 +67,8 @@ export default defineComponent({
height: 100%;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
border-radius: 8px;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
}
}
</style>

View file

@ -124,7 +124,8 @@ export default defineComponent({
text-decoration: none;
background: var(--buttonBg);
border-radius: 999px;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
&:not(:disabled):hover {
background: var(--buttonHoverBg);
@ -212,7 +213,8 @@ export default defineComponent({
width: 100%;
height: 100%;
border-radius: 6px;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
::v-deep(div) {
position: absolute;

View file

@ -116,7 +116,8 @@ export default defineComponent({
.ukygtjoj {
position: relative;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
&.naked {
background: transparent !important;

View file

@ -298,7 +298,8 @@ export default defineComponent({
transform: scale(.75);
white-space: nowrap;
width: 133%;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
text-overflow: ellipsis;
> .warning {
@ -354,7 +355,8 @@ export default defineComponent({
display: inline-block;
min-width: 16px;
max-width: 150px;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
white-space: nowrap;
text-overflow: ellipsis;
}

View file

@ -155,7 +155,8 @@ export default defineComponent({
font-size: 0.9em;
line-height: 20px;
text-align: center;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
text-overflow: ellipsis;
&.danger {

View file

@ -89,7 +89,8 @@ export default defineComponent({
<style lang="scss" scoped>
.ebkgoccj {
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
display: flex;
flex-direction: column;
contain: content;
@ -123,7 +124,8 @@ export default defineComponent({
padding-left: 32px;
font-weight: bold;
white-space: nowrap;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
text-overflow: ellipsis;
pointer-events: none;

View file

@ -89,7 +89,8 @@ export default defineComponent({
pointer-events: none;
font-size: 16px;
color: var(--inputLabel);
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
}
> input {

View file

@ -388,7 +388,8 @@ export default defineComponent({
z-index: 5000;
> .body {
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
display: flex;
flex-direction: column;
contain: content;
@ -418,7 +419,8 @@ export default defineComponent({
position: relative;
line-height: $height;
white-space: nowrap;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
text-overflow: ellipsis;
text-align: center;
cursor: move;

View file

@ -244,7 +244,8 @@ export default defineComponent({
font-size: 14px;
box-shadow: 0 0 0 1px var(--divider);
border-radius: 8px;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
&:hover {
text-decoration: none;
@ -326,7 +327,8 @@ export default defineComponent({
&.compact {
> article {
> header h1, p, footer {
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
white-space: nowrap;
text-overflow: ellipsis;
}

View file

@ -110,7 +110,8 @@ export default defineComponent({
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
}
}

View file

@ -111,7 +111,8 @@ export default defineComponent({
position: absolute;
z-index: 11000;
width: 300px;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
transform-origin: center top;
> .info {

View file

@ -66,7 +66,8 @@ export default defineComponent({
height: 350px;
background: var(--panel);
border-radius: var(--radius);
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
display: flex;
flex-direction: column;
@ -127,7 +128,8 @@ export default defineComponent({
> .body {
padding: 0 8px;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
> .name {
display: block;

View file

@ -141,7 +141,8 @@ export default defineComponent({
> *:nth-child(2) {
flex: 1 1 auto;
white-space: nowrap;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
text-overflow: ellipsis;
> span:first-child {

View file

@ -1,5 +1,5 @@
<template>
<div style="overflow: hidden;">
<div style="overflow: hidden; overflow: clip;">
<FormBase class="znqjceqz">
<div id="debug"></div>
<section class="_formItem about">

View file

@ -104,7 +104,8 @@ export default defineComponent({
display: block;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
margin: 0;
}
@ -124,7 +125,8 @@ export default defineComponent({
width: 55%;
line-height: 42px;
white-space: nowrap;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
text-overflow: ellipsis;
opacity: 0.7;
font-size: 14px;

View file

@ -178,17 +178,20 @@ export default defineComponent({
> .body {
padding: 0 0 0 8px;
white-space: nowrap;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
> .name {
text-overflow: ellipsis;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
}
> .info {
opacity: 0.5;
text-overflow: ellipsis;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
}
}
}
@ -219,17 +222,20 @@ export default defineComponent({
> .body {
padding: 0 0 0 8px;
white-space: nowrap;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
> .name {
text-overflow: ellipsis;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
}
> .info {
opacity: 0.5;
text-overflow: ellipsis;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
}
}
}

View file

@ -226,12 +226,14 @@ export default defineComponent({
align-items: center;
margin-bottom: 2px;
white-space: nowrap;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
> .name {
margin: 0;
padding: 0;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
text-overflow: ellipsis;
font-size: 1em;
font-weight: bold;
@ -262,7 +264,8 @@ export default defineComponent({
display: block;
margin: 0 0 0 0;
padding: 0;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
overflow-wrap: break-word;
font-size: 1.1em;
color: var(--faceText);

View file

@ -154,7 +154,8 @@ export default defineComponent({
display: block;
margin: 0;
padding: 0;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
overflow-wrap: break-word;
font-size: 1em;
color: rgba(#000, 0.5);
@ -164,7 +165,8 @@ export default defineComponent({
display: block;
margin: 0;
padding: 12px 18px;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
overflow-wrap: break-word;
word-break: break-word;
font-size: 1em;
@ -182,7 +184,8 @@ export default defineComponent({
display: block;
max-width: 100%;
border-radius: 16px;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
text-decoration: none;
&:hover {

View file

@ -74,7 +74,8 @@ export default defineComponent({
<style lang="scss" scoped>
.cpjygsrt {
position: relative;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
background: var(--panel);
border: solid 2px var(--X12);
border-radius: 6px;

View file

@ -434,7 +434,8 @@ export default defineComponent({
> div {
background: transparent;
border-radius: 6px;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
* {
pointer-events: none;

View file

@ -333,7 +333,8 @@ export default defineComponent({
background: transparent;
border: solid 2px var(--divider);
border-radius: 6px;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
cursor: pointer;
* {

View file

@ -230,7 +230,8 @@ export default defineComponent({
$size: 12px;
background: rgba(0, 0, 0, 0.1);
border-radius: ($size / 2);
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
> div {
height: $size;

View file

@ -144,7 +144,8 @@ export default defineComponent({
flex: 1;
min-width: 0;
white-space: nowrap;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
text-overflow: ellipsis;
margin-right: 12px;
}

View file

@ -184,7 +184,8 @@ export default defineComponent({
position: absolute;
top: 50%;
left: 50%;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
padding: 0 100px;
transform: translate3d(-50%, -50%, 0);

View file

@ -369,7 +369,8 @@ export default defineComponent({
position: relative;
height: 450px;
border-radius: 16px;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
background-size: cover;
background-position: center;
@ -472,7 +473,8 @@ export default defineComponent({
> .name {
width: 30%;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
white-space: nowrap;
text-overflow: ellipsis;
font-weight: bold;
@ -480,7 +482,8 @@ export default defineComponent({
> .value {
width: 70%;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
white-space: nowrap;
text-overflow: ellipsis;
margin: 0;
@ -542,7 +545,8 @@ export default defineComponent({
.ftskorzw.narrow {
max-width: 100vw;
box-sizing: border-box;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
> .punished {
font-size: 0.8em;
@ -553,12 +557,14 @@ export default defineComponent({
> .main {
position: relative;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
> .banner-container {
position: relative;
height: 250px;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
background-size: cover;
background-position: center;
@ -703,7 +709,8 @@ export default defineComponent({
> .name {
width: 30%;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
white-space: nowrap;
text-overflow: ellipsis;
font-weight: bold;
@ -712,7 +719,8 @@ export default defineComponent({
> .value {
width: 70%;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
white-space: nowrap;
text-overflow: ellipsis;
margin: 0;

View file

@ -167,7 +167,8 @@ export default defineComponent({
margin: auto;
width: 500px;
height: calc(100% - 128px);
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
-webkit-mask-image: linear-gradient(0deg, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 128px, rgba(0,0,0,1) calc(100% - 128px), rgba(0,0,0,0) 100%);
mask-image: linear-gradient(0deg, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 128px, rgba(0,0,0,1) calc(100% - 128px), rgba(0,0,0,0) 100%);

View file

@ -151,7 +151,8 @@ export default defineComponent({
margin: auto;
width: 500px;
height: calc(100% - 128px);
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
-webkit-mask-image: linear-gradient(0deg, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 128px, rgba(0,0,0,1) calc(100% - 128px), rgba(0,0,0,0) 100%);
mask-image: linear-gradient(0deg, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 128px, rgba(0,0,0,1) calc(100% - 128px), rgba(0,0,0,0) 100%);
}

View file

@ -71,7 +71,8 @@ export default defineComponent({
.mk-setup {
border-radius: var(--radius);
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
> h1 {
margin: 0;

View file

@ -241,7 +241,8 @@ hr {
border-radius: var(--radius);
//border: var(--panelBorder);
box-shadow: var(--panelShadow);
overflow: hidden;
overflow: hidden; // overflow: clip; をSafariが対応したら消す
overflow: clip;
}
._card {
@ -457,6 +458,14 @@ hr {
opacity: 0.7;
}
// TODO: refactor: 全てのvueファイル中の text-overflow: ellipsis; している箇所をこのクラスを使って置き換える
._oneline {
white-space: nowrap;
overflow: hidden; // overflow: clip; をSafariが対応したら消す
overflow: clip;
text-overflow: ellipsis;
}
._monospace {
font-family: Fira code, Fira Mono, Consolas, Menlo, Courier, monospace;
}

View file

@ -132,7 +132,8 @@ export default defineComponent({
display: inline-block;
vertical-align: bottom;
white-space: nowrap;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
text-overflow: ellipsis;
padding: 0 16px;
position: relative;

View file

@ -89,7 +89,8 @@ export default defineComponent({
font-size: 0.8em;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
flex-shrink: 1;
}
.mk-uploader > ol > li > .top > .name > [data-icon] {
@ -119,7 +120,8 @@ export default defineComponent({
background: transparent;
border: none;
border-radius: 4px;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
grid-column: 2/3;
grid-row: 2/3;
z-index: 2;

View file

@ -427,7 +427,8 @@ export default defineComponent({
> .text {
white-space: nowrap;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
text-overflow: ellipsis;
font-size: 0.9em;
}
@ -482,7 +483,8 @@ export default defineComponent({
padding: 6px 8px;
border-radius: 4px;
white-space: nowrap;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
text-overflow: ellipsis;
&:hover {
@ -545,7 +547,8 @@ export default defineComponent({
}
> .title {
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
text-overflow: ellipsis;
white-space: nowrap;
min-width: 0;
@ -556,7 +559,8 @@ export default defineComponent({
font-size: 0.8em;
font-weight: normal;
white-space: nowrap;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
text-overflow: ellipsis;
}
}

View file

@ -62,7 +62,8 @@ export default defineComponent({
display: block;
margin: 0 .5em 0 0;
padding: 0;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
font-size: 1em;
font-weight: bold;
text-decoration: none;
@ -91,7 +92,8 @@ export default defineComponent({
> .username {
margin: 0 .5em 0 0;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
text-overflow: ellipsis;
}

View file

@ -50,7 +50,8 @@ export default defineComponent({
display: flex;
margin: 0;
padding: 0;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
font-size: 0.95em;
> .avatar {

View file

@ -964,7 +964,8 @@ export default defineComponent({
}
> span {
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
flex-shrink: 1;
text-overflow: ellipsis;
white-space: nowrap;
@ -1037,7 +1038,8 @@ export default defineComponent({
&.collapsed {
position: relative;
max-height: 9em;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
> .fade {
display: block;

View file

@ -268,7 +268,8 @@ export default defineComponent({
--section-padding: 10px;
height: 100%;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
contain: content;
&.draghover {
@ -358,7 +359,8 @@ export default defineComponent({
> .header {
display: inline-block;
align-items: center;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
text-overflow: ellipsis;
white-space: nowrap;
}

View file

@ -125,7 +125,8 @@ export default defineComponent({
display: inline-block;
vertical-align: bottom;
white-space: nowrap;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
text-overflow: ellipsis;
position: relative;
@ -206,7 +207,8 @@ export default defineComponent({
> .title {
flex: 1;
white-space: nowrap;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
text-overflow: ellipsis;
position: relative;
text-align: center;

View file

@ -171,7 +171,8 @@ export default defineComponent({
> .meter {
width: 100%;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
background: var(--X11);
border-radius: 8px;

View file

@ -89,7 +89,8 @@ export default defineComponent({
$bodyInfoHieght: 16px;
height: (62px + 1px) + (62px + 1px) + (62px + 1px) + (62px + 1px) + 62px;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
> .instances {
.chart-move {
@ -113,7 +114,8 @@ export default defineComponent({
> .body {
flex: 1;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
font-size: 0.9em;
color: var(--fg);
@ -121,7 +123,8 @@ export default defineComponent({
display: block;
width: 100%;
white-space: nowrap;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
text-overflow: ellipsis;
line-height: $bodyTitleHieght;
}

View file

@ -80,7 +80,8 @@ export default defineComponent({
color: var(--fg);
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
&:nth-child(even) {
background: rgba(#000, 0.05);

View file

@ -68,7 +68,8 @@ export default defineComponent({
<style lang="scss" scoped>
.wbrkwala {
height: (62px + 1px) + (62px + 1px) + (62px + 1px) + (62px + 1px) + 62px;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
> .tags {
.chart-move {
@ -83,7 +84,8 @@ export default defineComponent({
> .tag {
flex: 1;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
font-size: 0.9em;
color: var(--fg);
@ -91,7 +93,8 @@ export default defineComponent({
display: block;
width: 100%;
white-space: nowrap;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
text-overflow: ellipsis;
line-height: 18px;
}