Fix embed options border radius (#10237)
This commit is contained in:
@@ -109,7 +109,7 @@ function EmbedDialogInner({
|
|||||||
<Trans>Embed post</Trans>
|
<Trans>Embed post</Trans>
|
||||||
</Text>
|
</Text>
|
||||||
<Text
|
<Text
|
||||||
style={[a.text_md, t.atoms.text_contrast_medium, a.leading_normal]}>
|
style={[a.text_md, t.atoms.text_contrast_medium, a.leading_snug]}>
|
||||||
<Trans>
|
<Trans>
|
||||||
Embed this post in your website. Simply copy the following snippet
|
Embed this post in your website. Simply copy the following snippet
|
||||||
and paste it into the HTML code of your website.
|
and paste it into the HTML code of your website.
|
||||||
@@ -117,12 +117,7 @@ function EmbedDialogInner({
|
|||||||
</Text>
|
</Text>
|
||||||
</View>
|
</View>
|
||||||
<View
|
<View
|
||||||
style={[
|
style={[a.border, t.atoms.border_contrast_low, {borderRadius: 18}]}>
|
||||||
a.border,
|
|
||||||
t.atoms.border_contrast_low,
|
|
||||||
a.rounded_sm,
|
|
||||||
a.overflow_hidden,
|
|
||||||
]}>
|
|
||||||
<Button
|
<Button
|
||||||
label={
|
label={
|
||||||
showCustomisation
|
showCustomisation
|
||||||
@@ -190,10 +185,9 @@ function EmbedDialogInner({
|
|||||||
<Button
|
<Button
|
||||||
label={_(msg`Copy code`)}
|
label={_(msg`Copy code`)}
|
||||||
color="primary"
|
color="primary"
|
||||||
variant="solid"
|
|
||||||
size="large"
|
size="large"
|
||||||
onPress={() => {
|
onPress={() => {
|
||||||
navigator.clipboard.writeText(snippet)
|
void navigator.clipboard.writeText(snippet)
|
||||||
setCopied(true)
|
setCopied(true)
|
||||||
}}>
|
}}>
|
||||||
{copied ? (
|
{copied ? (
|
||||||
|
|||||||
Reference in New Issue
Block a user