mirror of
https://github.com/duckietm/Nitro-V3.git
synced 2026-06-20 15:36:18 +00:00
🆙 fix the header for catalogue
This commit is contained in:
@@ -245,6 +245,7 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 3px;
|
gap: 3px;
|
||||||
|
flex-shrink: 0;
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
padding: 6px 8px;
|
padding: 6px 8px;
|
||||||
border-bottom: 1px solid var(--cat-line);
|
border-bottom: 1px solid var(--cat-line);
|
||||||
@@ -262,10 +263,10 @@
|
|||||||
|
|
||||||
.nitro-catalog-classic-layout-hero img {
|
.nitro-catalog-classic-layout-hero img {
|
||||||
display: block;
|
display: block;
|
||||||
width: 100%;
|
width: auto;
|
||||||
max-width: 100%;
|
|
||||||
height: auto;
|
height: auto;
|
||||||
max-height: 80px;
|
max-width: 100%;
|
||||||
|
max-height: none;
|
||||||
object-fit: contain;
|
object-fit: contain;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -281,7 +282,6 @@
|
|||||||
gap: 8px;
|
gap: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Offer / detail card — the mockup's preview + info panel. */
|
|
||||||
.nitro-catalog-classic-offer-panel,
|
.nitro-catalog-classic-offer-panel,
|
||||||
.nitro-catalog-classic-welcome {
|
.nitro-catalog-classic-welcome {
|
||||||
border: 1px solid var(--cat-line);
|
border: 1px solid var(--cat-line);
|
||||||
@@ -372,21 +372,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.nitro-catalog-classic-window .nitro-catalog-header {
|
.nitro-catalog-classic-window .nitro-catalog-header {
|
||||||
justify-content: flex-start;
|
display: none;
|
||||||
min-height: 56px;
|
|
||||||
margin-bottom: 6px;
|
|
||||||
padding: 4px 6px;
|
|
||||||
border: 1px solid var(--cat-line);
|
|
||||||
border-radius: 6px;
|
|
||||||
background: #ffffff;
|
|
||||||
}
|
|
||||||
|
|
||||||
.nitro-catalog-classic-window .nitro-catalog-header img {
|
|
||||||
max-width: 100%;
|
|
||||||
max-height: 48px;
|
|
||||||
width: auto;
|
|
||||||
height: auto;
|
|
||||||
object-fit: contain;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.nitro-catalog-classic-offer-info .bg-\[\#00800b\] {
|
.nitro-catalog-classic-offer-info .bg-\[\#00800b\] {
|
||||||
@@ -417,7 +403,6 @@
|
|||||||
color: #94a7b3;
|
color: #94a7b3;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Scrollbars — blue-grey to match the chrome. */
|
|
||||||
.nitro-catalog-classic-navigation-shell::-webkit-scrollbar,
|
.nitro-catalog-classic-navigation-shell::-webkit-scrollbar,
|
||||||
.nitro-catalog-classic-layout-container :is(.overflow-auto, .nitro-card-content-shell, .nitro-catalog-classic-grid-shell)::-webkit-scrollbar {
|
.nitro-catalog-classic-layout-container :is(.overflow-auto, .nitro-card-content-shell, .nitro-catalog-classic-grid-shell)::-webkit-scrollbar {
|
||||||
width: 12px;
|
width: 12px;
|
||||||
|
|||||||
Reference in New Issue
Block a user