fix(client): style tweak for ios

This commit is contained in:
syuilo 2022-07-03 16:17:31 +09:00
parent 11e4df92ac
commit 569cc28025
24 changed files with 37 additions and 36 deletions

View File

@ -59,7 +59,7 @@ const isThumbnailAvailable = computed(() => {
display: flex;
background: var(--panel);
border-radius: 8px;
overflow: clip;
overflow: hidden; overflow: clip;
> .icon-sub {
position: absolute;

View File

@ -189,7 +189,7 @@ const onMousedown = (ev: MouseEvent | TouchEvent) => {
height: 3px;
background: rgba(0, 0, 0, 0.1);
border-radius: 999px;
overflow: clip;
overflow: hidden; overflow: clip;
> .highlight {
position: absolute;

View File

@ -76,7 +76,7 @@ export default {
<style lang="scss" module>
.wrap {
overflow: clip;
overflow: hidden; overflow: clip;
}
.content {
display: inline-block;

View File

@ -27,7 +27,7 @@ const props = defineProps<{
display: flex;
margin: 0;
padding: 0;
overflow: clip;
overflow: hidden; overflow: clip;
font-size: 0.95em;
&.min-width_350px {

View File

@ -36,7 +36,7 @@ const showContent = $ref(false);
display: flex;
margin: 0;
padding: 0;
overflow: clip;
overflow: hidden; overflow: clip;
font-size: 0.95em;
&.min-width_350px {

View File

@ -297,7 +297,7 @@ function readPromo() {
position: relative;
transition: box-shadow 0.1s ease;
font-size: 1.05em;
overflow: clip;
overflow: hidden; overflow: clip;
contain: content;
//

View File

@ -73,7 +73,7 @@ defineExpose({
<style lang="scss" scoped>
.meijqfqm {
position: relative;
overflow: clip;
overflow: hidden; overflow: clip;
display: grid;
place-items: center;

View File

@ -54,7 +54,7 @@ onMounted(() => {
width: min-content;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
border-radius: 8px;
overflow: clip;
overflow: hidden; overflow: clip;
text-align: center;
pointer-events: none;

View File

@ -148,7 +148,7 @@ export default defineComponent({
text-decoration: none;
background: var(--buttonBg);
border-radius: 5px;
overflow: clip;
overflow: hidden; overflow: clip;
box-sizing: border-box;
transition: background 0.1s ease;

View File

@ -10,7 +10,8 @@
</button>
</div>
</header>
<transition :name="$store.state.animation ? 'container-toggle' : ''"
<transition
:name="$store.state.animation ? 'container-toggle' : ''"
@enter="enter"
@after-enter="afterEnter"
@leave="leave"
@ -34,37 +35,37 @@ export default defineComponent({
showHeader: {
type: Boolean,
required: false,
default: true
default: true,
},
thin: {
type: Boolean,
required: false,
default: false
default: false,
},
naked: {
type: Boolean,
required: false,
default: false
default: false,
},
foldable: {
type: Boolean,
required: false,
default: false
default: false,
},
expanded: {
type: Boolean,
required: false,
default: true
default: true,
},
scrollable: {
type: Boolean,
required: false,
default: false
default: false,
},
maxHeight: {
type: Number,
required: false,
default: null
default: null,
},
},
data() {
@ -79,12 +80,12 @@ export default defineComponent({
const headerHeight = this.showHeader ? this.$refs.header.offsetHeight : 0;
this.$el.style.minHeight = `${headerHeight}px`;
if (showBody) {
this.$el.style.flexBasis = `auto`;
this.$el.style.flexBasis = 'auto';
} else {
this.$el.style.flexBasis = `${headerHeight}px`;
}
}, {
immediate: true
immediate: true,
});
this.$el.style.setProperty('--maxHeight', this.maxHeight + 'px');
@ -124,7 +125,7 @@ export default defineComponent({
afterLeave(el) {
el.style.height = null;
},
}
},
});
</script>
@ -142,7 +143,7 @@ export default defineComponent({
.ukygtjoj {
position: relative;
overflow: clip;
overflow: hidden; overflow: clip;
&.naked {
background: transparent !important;

View File

@ -389,7 +389,7 @@ defineExpose({
left: 0;
width: 100%;
height: 100%;
overflow: clip;
overflow: hidden; overflow: clip;
> .content {
position: fixed;

View File

@ -1,7 +1,7 @@
<template>
<MkStickyContainer>
<template #header><MkPageHeader :actions="headerActions" :tabs="headerTabs"/></template>
<div style="overflow: clip;">
<div style="overflow: hidden; overflow: clip;">
<MkSpacer :content-max="600" :margin-min="20">
<div class="_formRoot znqjceqz">
<div id="debug"></div>

View File

@ -138,7 +138,7 @@ definePageMetadata(computed(() => ({
.fwhjspax {
text-align: center;
border-radius: 10px;
overflow: clip;
overflow: hidden; overflow: clip;
background-size: cover;
background-position: center center;

View File

@ -561,7 +561,7 @@ definePageMetadata({
> .body {
background: var(--panel);
border-radius: var(--radius);
overflow: clip;
overflow: hidden; overflow: clip;
}
}
@ -620,7 +620,7 @@ definePageMetadata({
> .body {
background: var(--panel);
border-radius: var(--radius);
overflow: clip;
overflow: hidden; overflow: clip;
}
}
}

View File

@ -110,7 +110,7 @@ definePageMetadata(computed(() => antenna ? {
> .tl {
background: var(--bg);
border-radius: var(--radius);
overflow: clip;
overflow: hidden; overflow: clip;
}
&.min-width_800px {

View File

@ -192,7 +192,7 @@ definePageMetadata({
background-size: cover;
background-position: center;
border-radius: 10px;
overflow: clip;
overflow: hidden; overflow: clip;
> .avatar {
display: inline-block;

View File

@ -175,7 +175,7 @@ definePageMetadata({
> .toggleWrapper {
display: inline-block;
text-align: left;
overflow: clip;
overflow: hidden; overflow: clip;
padding: 0 100px;
input {

View File

@ -177,7 +177,7 @@ definePageMetadata(computed(() => ({
> .tl {
background: var(--bg);
border-radius: var(--radius);
overflow: clip;
overflow: hidden; overflow: clip;
}
}
</style>

View File

@ -103,7 +103,7 @@ definePageMetadata(computed(() => list ? {
> .tl {
background: var(--bg);
border-radius: var(--radius);
overflow: clip;
overflow: hidden; overflow: clip;
}
&.min-width_800px {

View File

@ -90,7 +90,7 @@ export default defineComponent({
> .img {
height: 128px;
border-radius: 6px;
overflow: clip;
overflow: hidden; overflow: clip;
}
}

View File

@ -275,7 +275,7 @@ function showMenu(ev) {
-webkit-backdrop-filter: var(--blur, blur(15px));
backdrop-filter: var(--blur, blur(15px));
border-radius: 999px;
overflow: clip;
overflow: hidden; overflow: clip;
width: 800px;
padding: 8px 0;

View File

@ -260,7 +260,7 @@ hr {
._panel {
background: var(--panel);
border-radius: var(--radius);
overflow: clip;
overflow: hidden; overflow: clip;
}
._block {

View File

@ -52,7 +52,7 @@ const XUserList = defineAsyncComponent(() => import('./statusbar-user-list.vue')
width: 100%;
line-height: var(--height);
height: var(--height);
overflow: clip;
overflow: hidden; overflow: clip;
contain: strict;
> .name {

View File

@ -241,7 +241,7 @@ onMounted(() => {
border-left: solid 1px var(--divider);
border-right: solid 1px var(--divider);
border-radius: 0;
overflow: clip;
overflow: hidden; overflow: clip;
--margin: 12px;
}