Skip to content

Commit 54f4cad

Browse files
committed
fix(preprocess): add css for height on apps pages (1.2.57+)
1 parent 1ec567b commit 54f4cad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/preprocess/preprocess.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ func Start(version string, extractedAppsPath string, flags Flag) {
142142
}
143143
if fileName == "xpui.css" {
144144
content = content + `
145-
.main-gridContainer-fixedWidth{grid-template-columns: repeat(auto-fill, var(--column-width));width: calc((var(--column-count) - 1) * var(--grid-gap)) + var(--column-count) * var(--column-width));}.main-cardImage-imageWrapper{background-color: var(--card-color, #333);border-radius: 6px;-webkit-box-shadow: 0 8px 24px rgba(0, 0, 0, .5);box-shadow: 0 8px 24px rgba(0, 0, 0, .5);padding-bottom: 100%;position: relative;width:100%;}.main-cardImage-image,.main-card-imagePlaceholder{height: 100%;left: 0;position: absolute;top: 0;width: 100%}
145+
.main-gridContainer-fixedWidth{grid-template-columns: repeat(auto-fill, var(--column-width));width: calc((var(--column-count) - 1) * var(--grid-gap)) + var(--column-count) * var(--column-width));}.main-cardImage-imageWrapper{background-color: var(--card-color, #333);border-radius: 6px;-webkit-box-shadow: 0 8px 24px rgba(0, 0, 0, .5);box-shadow: 0 8px 24px rgba(0, 0, 0, .5);padding-bottom: 100%;position: relative;width:100%;}.main-cardImage-image,.main-card-imagePlaceholder{height: 100%;left: 0;position: absolute;top: 0;width: 100%};.main-content-view{height:100%;}
146146
`
147147
}
148148
return content

0 commit comments

Comments
 (0)