dc53f04b81
site.css declared `font-size: 0.82rem` literally on `.btn`. Bootstrap sizes buttons through `font-size: var(--bs-btn-font-size)`, and `.btn-sm` / `.btn-group-sm > .btn` do nothing but redefine that variable — so a literal at equal specificity, loaded after Bootstrap, silently flattened every small button in the dashboard into a padding-only difference. `btn-sm` was inert app-wide. The kit now owns the sizing: 0.4.0 shipped the four `--bs-btn-*` overrides in layout.css, which ThemeHead emits ahead of site.css, so removing the local literal restores `.btn-sm` without a local copy. 0.4.1 is a pin-only follow-up (it fixes `.rail-btn-block`, which this app does not use; `theme.css` is byte-identical and the `.btn` rule is unchanged between the two). The rest of the local rule is kept deliberately. 0.4.0 upstreamed sizing only, not `border-radius` / `font-weight` / `white-space`, so deleting the block wholesale would have dropped three app-specific declarations. `border-radius` also stays a literal rather than `--bs-btn-border-radius`, because `.btn-sm` redefines that variable and small buttons would shrink to Bootstrap's radius. Verified in a browser against the running dashboard: `.btn` 13.6px and `.btn-sm` 12.48px, btn-group seams intact, and `--bs-btn-font-size` now declared in exactly two sheets (bootstrap.min.css, layout.css) instead of three.
44 lines
2.4 KiB
XML
44 lines
2.4 KiB
XML
<Project Sdk="Microsoft.NET.Sdk.Web">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>net10.0</TargetFramework>
|
|
<!-- Dev-box channel for MxGateway:Ldap:ServiceAccountPassword (SEC-36): user-secrets
|
|
are loaded automatically in the Development environment and live under the user
|
|
profile, outside the tree, so the shared GLAuth bind credential is never committed. -->
|
|
<UserSecretsId>mxaccessgw-server</UserSecretsId>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Grpc.AspNetCore" Version="2.76.0" />
|
|
<PackageReference Include="ZB.MOM.WW.Auth.Abstractions" Version="0.1.5" />
|
|
<PackageReference Include="ZB.MOM.WW.Auth.Ldap" Version="0.1.5" />
|
|
<PackageReference Include="ZB.MOM.WW.Auth.ApiKeys" Version="0.1.5" />
|
|
<PackageReference Include="ZB.MOM.WW.Auth.AspNetCore" Version="0.1.5" />
|
|
<PackageReference Include="ZB.MOM.WW.Audit" Version="0.1.0" />
|
|
<PackageReference Include="ZB.MOM.WW.Theme" Version="0.4.1" />
|
|
<PackageReference Include="ZB.MOM.WW.Configuration" Version="0.1.0" />
|
|
<PackageReference Include="ZB.MOM.WW.Health" Version="0.2.0" />
|
|
<PackageReference Include="ZB.MOM.WW.Telemetry" Version="0.1.0" />
|
|
<PackageReference Include="ZB.MOM.WW.Telemetry.Serilog" Version="0.1.0" />
|
|
<PackageReference Include="ZB.MOM.WW.GalaxyRepository" Version="0.2.0" />
|
|
<PackageReference Include="ZB.MOM.WW.Secrets" Version="0.2.3" />
|
|
<PackageReference Include="ZB.MOM.WW.Secrets.Abstractions" Version="0.2.3" />
|
|
<PackageReference Include="ZB.MOM.WW.Secrets.Ui" Version="0.2.3" />
|
|
<PackageReference Include="Serilog.AspNetCore" Version="10.0.0" />
|
|
<PackageReference Include="Serilog.Sinks.Console" Version="6.1.1" />
|
|
<PackageReference Include="Serilog.Sinks.File" Version="7.0.0" />
|
|
<PackageReference Include="Microsoft.AspNetCore.SignalR.Client" Version="10.0.0" />
|
|
<PackageReference Include="Microsoft.Data.Sqlite" Version="10.0.7" />
|
|
<!-- Security pin: GHSA-2m69-gcr7-jv3q. Microsoft.Data.Sqlite pulls the vulnerable
|
|
native 2.1.11; 2.1.12 patches it. Bumping Sqlite does not clear it. -->
|
|
<PackageReference Include="SQLitePCLRaw.lib.e_sqlite3" Version="2.1.12" />
|
|
<PackageReference Include="Microsoft.Data.SqlClient" Version="6.0.2" />
|
|
<PackageReference Include="Polly.Core" Version="8.6.6" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\ZB.MOM.WW.MxGateway.Contracts\ZB.MOM.WW.MxGateway.Contracts.csproj" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|