Skip to content

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.

Fix width of snackbar on mobile devices (#1813)

Dhruv Bhanushalicc4e2be07d84
diff --git a/src/components/VSnackbar.vue b/src/components/VSnackbar.vue
index cd82b3a71..c138e76c4 100644
--- a/src/components/VSnackbar.vue
+++ b/src/components/VSnackbar.vue
@@ -42,7 +42,7 @@ export default defineComponent({
}
.large {
- @apply w-max max-w-full flex-row items-center py-4 px-6 text-sm;
+ @apply w-max max-w-[calc(100%_-_2_*_theme(spacing.4))] flex-row items-center py-4 px-6 text-sm;
}
.small {