Web: fix mobile overflow on activities, activity form, assets panel, routines, team/audit/API settings
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -960,6 +960,7 @@ onMounted(async () => {
|
|||||||
<style scoped>
|
<style scoped>
|
||||||
.assets {
|
.assets {
|
||||||
display: grid;
|
display: grid;
|
||||||
|
grid-template-columns: minmax(0, 1fr);
|
||||||
gap: 0.9rem;
|
gap: 0.9rem;
|
||||||
}
|
}
|
||||||
.card {
|
.card {
|
||||||
|
|||||||
@@ -32,9 +32,17 @@ const model = defineModel<T>({ required: true });
|
|||||||
gap: 2px;
|
gap: 2px;
|
||||||
background: #e8eef1;
|
background: #e8eef1;
|
||||||
border-radius: var(--radius);
|
border-radius: var(--radius);
|
||||||
|
max-width: 100%;
|
||||||
|
overflow-x: auto;
|
||||||
|
scrollbar-width: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ui-seg::-webkit-scrollbar {
|
||||||
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.seg {
|
.seg {
|
||||||
|
flex: 0 0 auto;
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
|||||||
@@ -1176,6 +1176,7 @@ onUnmounted(() => {
|
|||||||
<style scoped>
|
<style scoped>
|
||||||
.page {
|
.page {
|
||||||
display: grid;
|
display: grid;
|
||||||
|
grid-template-columns: minmax(0, 1fr);
|
||||||
gap: 1rem;
|
gap: 1rem;
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
}
|
}
|
||||||
@@ -1233,10 +1234,7 @@ h1 {
|
|||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
|
|
||||||
.head-actions .excel-btn .btn-full {
|
.btn-short {
|
||||||
display: inline;
|
|
||||||
}
|
|
||||||
.head-actions .excel-btn .btn-short {
|
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1326,6 +1324,7 @@ h1 {
|
|||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 0.5rem;
|
gap: 0.5rem;
|
||||||
|
flex-wrap: wrap;
|
||||||
margin-inline-start: auto;
|
margin-inline-start: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1992,10 +1991,10 @@ time.note {
|
|||||||
flex: 1;
|
flex: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.head-actions .excel-btn .btn-full {
|
.btn-full {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
.head-actions .excel-btn .btn-short {
|
.btn-short {
|
||||||
display: inline;
|
display: inline;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1052,6 +1052,7 @@ watch([id, isNew], () => void load(), { immediate: true });
|
|||||||
|
|
||||||
.layout {
|
.layout {
|
||||||
display: grid;
|
display: grid;
|
||||||
|
grid-template-columns: minmax(0, 1fr);
|
||||||
gap: var(--sp-3);
|
gap: var(--sp-3);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1062,6 +1063,7 @@ watch([id, isNew], () => void load(), { immediate: true });
|
|||||||
.form,
|
.form,
|
||||||
.stack {
|
.stack {
|
||||||
display: grid;
|
display: grid;
|
||||||
|
grid-template-columns: minmax(0, 1fr);
|
||||||
gap: var(--sp-3);
|
gap: var(--sp-3);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1563,7 +1565,7 @@ watch([id, isNew], () => void load(), { immediate: true });
|
|||||||
.priorities {
|
.priorities {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
flex-wrap: nowrap;
|
flex-wrap: wrap;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
gap: 0.45rem;
|
gap: 0.45rem;
|
||||||
|
|||||||
@@ -171,6 +171,7 @@ onMounted(() => {
|
|||||||
<style scoped>
|
<style scoped>
|
||||||
.audit-page {
|
.audit-page {
|
||||||
display: grid;
|
display: grid;
|
||||||
|
grid-template-columns: minmax(0, 1fr);
|
||||||
gap: 1rem;
|
gap: 1rem;
|
||||||
}
|
}
|
||||||
.filters-grid {
|
.filters-grid {
|
||||||
|
|||||||
@@ -335,6 +335,7 @@ onMounted(() => {
|
|||||||
<style scoped>
|
<style scoped>
|
||||||
.page {
|
.page {
|
||||||
display: grid;
|
display: grid;
|
||||||
|
grid-template-columns: minmax(0, 1fr);
|
||||||
gap: 1rem;
|
gap: 1rem;
|
||||||
}
|
}
|
||||||
.hint {
|
.hint {
|
||||||
|
|||||||
@@ -1306,10 +1306,12 @@ h1 {
|
|||||||
min-height: 42px;
|
min-height: 42px;
|
||||||
padding: 0 0.85rem;
|
padding: 0 0.85rem;
|
||||||
color: #94a3b8;
|
color: #94a3b8;
|
||||||
|
min-width: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.search input {
|
.search input {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
|
width: 100%;
|
||||||
border: 0;
|
border: 0;
|
||||||
outline: none;
|
outline: none;
|
||||||
font: inherit;
|
font: inherit;
|
||||||
|
|||||||
@@ -165,6 +165,7 @@ const catOpt = computed(() => categoryBar(d.value?.byCategory ?? []));
|
|||||||
<style scoped>
|
<style scoped>
|
||||||
.perf {
|
.perf {
|
||||||
display: grid;
|
display: grid;
|
||||||
|
grid-template-columns: minmax(0, 1fr);
|
||||||
gap: var(--sp-4);
|
gap: var(--sp-4);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -224,8 +224,8 @@ const hideHeader = computed(() => route.name === 'routine-new' || route.name ===
|
|||||||
@media (max-width: 900px) {
|
@media (max-width: 900px) {
|
||||||
.r-tabs {
|
.r-tabs {
|
||||||
gap: var(--sp-4);
|
gap: var(--sp-4);
|
||||||
margin-inline: calc(-1 * var(--sp-4));
|
margin-inline: calc(-1 * var(--sp-3));
|
||||||
padding-inline: var(--sp-4);
|
padding-inline: var(--sp-3);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user