Jump to content
Menü aufrufen
Toggle preferences menu
Persönliches Menü aufrufen
Nicht angemeldet
Ihre IP-Adresse wird öffentlich sichtbar sein, wenn Sie Änderungen vornehmen.
/* Module:DataGrid presentation tweaks over the AGGrid extension theme. Scoped to
   the .t-datagrid wrapper the module emits. Mirrors Module:PledgeVehicleGrid. The
   scwSmart cell behaviour (right-align toggle) is owned by the aggridRenderers
   gadget; this sheet only positions cells. */

.t-datagrid {
	margin-block: var( --space-md );
	/* Compact lead-card thumbnail (the gadget defaults to the pledge grid's 56px);
	   40px fits DataGrid's compact rows. Inherited by every .scw-entitycard cell. */
	--scw-entitycard-media-size: 40px;
}

/* All rows in one internally-scrolling, virtualised grid; a taller viewport does
   not grow the DOM. Overrides the extension's default height. */
.t-datagrid .ext-aggrid {
	height: 70vh;
}

/* Vertically centre cell content. */
.t-datagrid .ag-cell {
	display: flex;
	align-items: center;
}

/* Keep numeric (right-aligned) cells flush right now that the cell is a flex box. */
.t-datagrid .ag-cell.ag-right-aligned-cell {
	justify-content: flex-end;
}
Zuletzt geändert
Urheberrecht
Cookies helfen uns bei der Bereitstellung dieses Wikis. Durch die Nutzung des Star Citizen Wiki erklärst du dich damit einverstanden, dass wir Cookies speichern.