Revert "fix(frontend): drop 12px font pin on header icon cards to match reference"
This reverts commit 6fcd63b923.
This commit is contained in:
@@ -33,16 +33,9 @@ test('homepage horizontal cards render fully from legacy CSS with no dedicated s
|
||||
assert.equal(fs.existsSync(path.join(root, 'assets/css/frontend/header-cards.css')), false);
|
||||
assert.doesNotMatch(baseCss, /\.icon-cover-card\.aksrt-icon-cover-card/);
|
||||
assert.doesNotMatch(baseCss, /\.header-components-card/);
|
||||
// Reference theme pins no font-size on header cards: text inherits the
|
||||
// bootstrap 14px baseline (title .em12 -> 16.8px). A local 12px override
|
||||
// made AKSRT cards visually smaller than the reference.
|
||||
assert.doesNotMatch(
|
||||
assert.match(
|
||||
baseCss,
|
||||
/\.header-slider-card\s+\.icon-cover-card\s*\{[^}]*font-size/s,
|
||||
);
|
||||
assert.doesNotMatch(
|
||||
read('assets/css/build/public.css'),
|
||||
/\.header-slider-card\s+\.icon-cover-card\s*\{[^}]*font-size/s,
|
||||
/\.header-slider-card\s+\.icon-cover-card\s*\{[^}]*font-size:\s*12px/s,
|
||||
);
|
||||
assert.doesNotMatch(scripts, /header-cards/);
|
||||
assert.doesNotMatch(widgetCss, /aksrt-widget-icon-cards \.icon-cover-card/);
|
||||
|
||||
Reference in New Issue
Block a user