Skip to content

Commit 58ecf4e

Browse files
committed
attempting to fix styling
1 parent 4e02718 commit 58ecf4e

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

tests/UI/ApiReference_spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,6 @@ describe('ApiReference', function () {
116116
await waitForSingleVisiblePlugin(targetPlugin);
117117
await expandPlugin(targetPlugin);
118118

119-
expect(await page.screenshotSelector('.pluginCard--expanded')).to.matchImage('expanded_plugin');
119+
expect(await page.screenshotSelector('.searchBar,.pluginList')).to.matchImage('expanded_plugin');
120120
});
121121
});

vue/src/SwaggerPage/swagger-ui-overrides.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
.swaggerMount .swagger-ui {
22
--matomo-swagger-get-main: var(--theme-color-link, #3152A0);
3-
--matomo-swagger-get-background: color-mix(in srgb, var(--matomo-swagger-get-main) 9%, var(--theme-color-background-contrast, #fff));
4-
--matomo-swagger-get-header-background: color-mix(in srgb, var(--matomo-swagger-get-background) 76%, var(--theme-color-background-contrast, #fff));
53
--matomo-swagger-post-main: var(--theme-color-brand, #35C4C4);
6-
--matomo-swagger-post-background: color-mix(in srgb, var(--matomo-swagger-post-main) 9%, var(--theme-color-background-contrast, #fff));
7-
--matomo-swagger-post-header-background: color-mix(in srgb, var(--matomo-swagger-post-background) 76%, var(--theme-color-background-contrast, #fff));
4+
--matomo-swagger-get-background: var(--theme-color-api-get-background, #f3f7fd);
5+
--matomo-swagger-get-header-background: var(--theme-color-api-get-header-background, #eaf1fb);
6+
--matomo-swagger-post-background: var(--theme-color-api-post-background, #eefafb);
7+
--matomo-swagger-post-header-background: var(--theme-color-api-post-header-background, #e4f6f7);
88
--matomo-swagger-panel-background: var(--theme-color-background-contrast, #fff);
99
--matomo-swagger-panel-background-muted: var(--theme-color-background-tinyContrast, #f2f2f2);
1010
--matomo-swagger-panel-background-subtle: var(--theme-color-background-base, #fafbfc);

0 commit comments

Comments
 (0)