Skip to content

Commit 0a34284

Browse files
committed
Fix buttons design
1 parent 66e0ec6 commit 0a34284

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/qg-top-nav.ts

+5-2
Original file line numberDiff line numberDiff line change
@@ -323,9 +323,12 @@ export class QGTopNav extends LitElement {
323323
}
324324
325325
.desktop .button-container {
326-
min-width:120px;
327326
display:inherit;
328327
}
328+
329+
.desktop .button-container:last-child {
330+
min-width: 120px;
331+
}
329332
.desktop .icon-button:hover {
330333
width:100%;
331334
}
@@ -341,7 +344,7 @@ export class QGTopNav extends LitElement {
341344
white-space: nowrap;
342345
padding-left: 10px;
343346
opacity: 0;
344-
transform: translateX(-100%);
347+
transform: translateX(-50%);
345348
transition: transform 0.5s ease, opacity 0.8s ease-in, opacity 0.3s ease-out;
346349
}
347350

0 commit comments

Comments
 (0)