修正 PPT 類型按鈕響應式溢出
Some checks failed
CD Pipeline / deploy (push) Has been cancelled

This commit is contained in:
OoO
2026-05-19 11:40:07 +08:00
parent d2d6bcd263
commit 21053aeb50
3 changed files with 13 additions and 12 deletions

View File

@@ -426,23 +426,25 @@
}
.ppt-type-tabs {
display: flex;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
min-width: 0;
width: 100%;
max-width: 100%;
overflow-x: auto;
overflow-y: hidden;
padding-bottom: var(--momo-space-1, 4px);
scrollbar-width: thin;
flex-wrap: nowrap;
overflow: hidden;
gap: var(--momo-space-2, 8px);
}
.ppt-type-chip {
display: inline-flex;
align-items: center;
justify-content: center;
gap: var(--momo-space-1, 4px);
flex: 0 0 auto;
white-space: nowrap;
width: 100%;
min-height: 34px;
white-space: normal;
line-height: 1.25;
text-align: center;
}
.ppt-deck-workbench {
@@ -1423,8 +1425,7 @@ body.ppt-preview-open {
}
.ppt-type-tabs {
margin-inline: calc(var(--momo-space-2, 8px) * -1);
padding-inline: var(--momo-space-2, 8px);
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.ppt-panel-head,