Skip to content

Commit 8c047aa

Browse files
zackkridaobulat
andauthored
Fix logo height (#3967)
Co-authored-by: Olga Bulat <obulat@gmail.com>
1 parent 83f21d7 commit 8c047aa

File tree

93 files changed

+2
-17
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

93 files changed

+2
-17
lines changed

frontend/src/components/VHeader/VLogoButton.vue

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,7 @@
88
icon-only
99
class="text-dark-charcoal hover:bg-yellow"
1010
>
11-
<VLogoLoader
12-
:status="isFetching ? 'loading' : 'idle'"
13-
:auto-resize="false"
14-
/>
11+
<VLogoLoader :status="isFetching ? 'loading' : 'idle'" />
1512
</VButton>
1613
</template>
1714
<script>

frontend/src/components/VLogoLoader/VLogoLoader.vue

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,11 @@
44
xmlns="http://www.w3.org/2000/svg"
55
:class="{
66
loading: status === 'loading' && !prefersReducedMotion,
7-
'h-10 w-10': autoResize,
8-
'h-12 w-12': !autoResize,
97
}"
108
aria-hidden="true"
119
:data-prefers-reduced-motion="prefersReducedMotion"
1210
data-testid="logo-loader"
13-
class="inline-flex items-center justify-center rounded p-3 md:h-12 md:w-12"
11+
class="inline-flex h-4.5 items-center justify-center rounded"
1412
fill="currentColor"
1513
>
1614
<path
@@ -52,10 +50,6 @@ export default defineComponent({
5250
type: String as PropType<"loading" | "idle">,
5351
default: "idle",
5452
},
55-
autoResize: {
56-
type: Boolean,
57-
default: true,
58-
},
5953
},
6054
setup() {
6155
const prefersReducedMotion = useReducedMotion()

frontend/test/playwright/playwright.config.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,6 @@ const config: PlaywrightTestConfig = {
4545
* Playwright default of using 1/2 of the number of CPU cores continues to work otherwise.
4646
*/
4747
workers: UPDATE_TAPES === "true" ? 1 : undefined,
48-
expect: {
49-
toMatchSnapshot: {
50-
// If the visual regression tests are flaky, we can increase this to 0.1 or 0.2.
51-
maxDiffPixelRatio: 0.01,
52-
},
53-
},
5448
}
5549

5650
export default config

0 commit comments

Comments
 (0)