Add decoration to the bubble component #152
Merged
a3thakra
merged 4 commits from adi-bubble
into main
2 years ago
Loading…
Reference in new issue
There is no content yet.
Delete Branch 'adi-bubble'
Deleting a branch is permanent. It CANNOT be undone. Continue?
Closes #87
}
.bubble {
--border-radius: calc(5000rem / 16);
A massive border radius ensures the circularness of the border for all elements up to 10000px in height, that's more than enough.
<div className={styles.bubble}>
<DefaultLayout>{props.children}</DefaultLayout>
<div className={styles.container}>
<div className={styles.bubble} aria-hidden>
Since this is purely visual, we hide it from screen readers.
background-color: var(--primary-accent-light);
}
@media only screen and (min-width: calc(1350rem / 16)) {
Using min-width instead of max-width here so I don't have to
unset
a lot of properties.ea936c4b5b
toba274c262e
2 years agoLooks good!
41fdadb229
into main 2 years agoReviewers
41fdadb229
.