Skip to content

Commit 1a7bf36

Browse files
Merge pull request #871 from OpenWebGAL/fix-extra-ui-overflow
Fix extra UI overflow
2 parents 724dcec + 92ed886 commit 1a7bf36

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

packages/webgal/src/UI/Extra/extra.module.scss

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,11 +201,17 @@
201201
.cgShowDivWarpper {
202202
display: flex;
203203
flex-flow: row;
204-
justify-content: center;
204+
justify-content: flex-start;
205205
align-items: flex-end;
206206
//background: rgba(255, 255, 255, 0.35);
207207
border-radius: 7px;
208208
padding: 12px 15px;
209+
width: 100%;
210+
max-width: 100%;
211+
overflow-x: auto;
212+
overflow-y: hidden;
213+
flex-wrap: nowrap;
214+
-webkit-overflow-scrolling: touch;
209215
}
210216

211217
.cgNav {
@@ -219,6 +225,7 @@
219225
cursor: pointer;
220226
transition: background-color 0.5s, color 0.5s, font-weight 0.5s;
221227
border-radius: 7px;
228+
flex-shrink: 0;
222229
}
223230

224231
.cgNav:first-child {

0 commit comments

Comments
 (0)