Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

Prettier fix

Blue Moused3c4f62b7384
diff --git a/web/app/styles/sonner.css b/web/app/styles/sonner.css
index 5ad26c3af..1be45948c 100644
--- a/web/app/styles/sonner.css
+++ b/web/app/styles/sonner.css
@@ -27,8 +27,21 @@
:where([data-sonner-toaster]) {
position: fixed;
width: var(--width);
- font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial,
- Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
+ font-family:
+ ui-sans-serif,
+ system-ui,
+ -apple-system,
+ BlinkMacSystemFont,
+ Segoe UI,
+ Roboto,
+ Helvetica Neue,
+ Arial,
+ Noto Sans,
+ sans-serif,
+ Apple Color Emoji,
+ Segoe UI Emoji,
+ Segoe UI Symbol,
+ Noto Color Emoji;
--gray1: hsl(0, 0%, 99%);
--gray2: hsl(0, 0%, 97.3%);
--gray3: hsl(0, 0%, 95.1%);
@@ -92,7 +105,11 @@
filter: blur(0);
/* https://stackoverflow.com/questions/48124372/pointermove-event-not-working-with-touch-why-not */
touch-action: none;
- transition: transform 400ms, opacity 400ms, height 400ms, box-shadow 200ms;
+ transition:
+ transform 400ms,
+ opacity 400ms,
+ height 400ms,
+ box-shadow 200ms;
box-sizing: border-box;
outline: none;
overflow-wrap: anywhere;
@@ -113,7 +130,9 @@
}
:where([data-sonner-toast]:focus-visible) {
- box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1), 0 0 0 2px rgba(0, 0, 0, 0.2);
+ box-shadow:
+ 0px 4px 12px rgba(0, 0, 0, 0.1),
+ 0 0 0 2px rgba(0, 0, 0, 0.2);
}
:where([data-sonner-toast][data-y-position='top']) {
@@ -192,7 +211,9 @@
display: flex;
align-items: center;
flex-shrink: 0;
- transition: opacity 400ms, box-shadow 200ms;
+ transition:
+ opacity 400ms,
+ box-shadow 200ms;
}
:where([data-sonner-toast]) :where([data-button]):focus-visible {
@@ -230,7 +251,10 @@
border-radius: 50%;
cursor: pointer;
z-index: 1;
- transition: opacity 100ms, background 200ms, border-color 200ms;
+ transition:
+ opacity 100ms,
+ background 200ms,
+ border-color 200ms;
}
[data-sonner-toast] [data-close-button] {
@@ -238,7 +262,9 @@
}
:where([data-sonner-toast]) :where([data-close-button]):focus-visible {
- box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1), 0 0 0 2px rgba(0, 0, 0, 0.2);
+ box-shadow:
+ 0px 4px 12px rgba(0, 0, 0, 0.1),
+ 0 0 0 2px rgba(0, 0, 0, 0.2);
}
:where([data-sonner-toast]) :where([data-disabled='true']) {
@@ -332,7 +358,9 @@
:where([data-sonner-toast][data-removed='true'][data-front='false'][data-swipe-out='false'][data-expanded='false']) {
--y: translateY(40%);
opacity: 0;
- transition: transform 500ms, opacity 200ms;
+ transition:
+ transform 500ms,
+ opacity 200ms;
}
/* Bump up the height to make sure hover state doesn't get set to false */
@@ -647,7 +675,9 @@
left: 50%;
transform: translate(-50%, -50%);
transform-origin: center;
- transition: opacity 200ms, transform 200ms;
+ transition:
+ opacity 200ms,
+ transform 200ms;
}
.sonner-loader[data-visible='false'] {