Skip to content

Commit a2342f7

Browse files
phodalcodex
andcommitted
fix(office): align ppt preview chrome spacing
Co-authored-by: Codex (GPT 5.5) <codex@openai.com>
1 parent 2b82950 commit a2342f7

1 file changed

Lines changed: 12 additions & 11 deletions

File tree

src/app/debug/office-wasm-poc/presentation-preview.module.css

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -84,13 +84,13 @@
8484
}
8585

8686
.thumbnailButton[data-active="true"] .thumbnailCanvas {
87-
box-shadow: none;
87+
box-shadow: 0 0 0 2px #60a5fa;
8888
}
8989

9090
.thumbnailButton[data-active="true"] {
91-
background: #ffffff;
92-
border-color: #60a5fa;
93-
box-shadow: 0 0 0 1px rgba(96, 165, 250, 0.45);
91+
background: transparent;
92+
border-color: transparent;
93+
box-shadow: none;
9494
}
9595

9696
.mainPanel {
@@ -125,6 +125,7 @@
125125
align-items: stretch;
126126
background: #f8fafc;
127127
display: flex;
128+
flex-direction: column;
128129
justify-content: center;
129130
min-height: 0;
130131
min-width: 0;
@@ -137,7 +138,8 @@
137138
.viewport {
138139
align-items: center;
139140
display: flex;
140-
height: 100%;
141+
flex: 1 1 auto;
142+
height: auto;
141143
justify-content: center;
142144
min-height: 0;
143145
min-width: 0;
@@ -225,24 +227,23 @@
225227
}
226228

227229
.footnote {
230+
align-self: center;
228231
background: #ffffff;
229232
border: 1px solid #eef2f7;
230233
border-radius: 8px;
231234
box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
232235
box-sizing: border-box;
233-
bottom: 14px;
234236
color: #64748b;
235237
font: 12px/1.6 var(--font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif);
236-
left: 50%;
237-
margin: 0;
238+
margin: 14px 0 0;
238239
max-height: 96px;
239240
max-width: calc(100% - 48px);
240241
overflow: auto;
241242
padding: 12px 14px;
242-
position: absolute;
243-
transform: translateX(-50%);
243+
position: static;
244+
transform: none;
244245
white-space: pre-wrap;
245-
z-index: 4;
246+
z-index: 1;
246247
}
247248

248249
.slideshowOverlay {

0 commit comments

Comments
 (0)