Skip to content

Commit 84020b4

Browse files
Design tweaks
1 parent 4ae1026 commit 84020b4

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

components/blocks/code.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ const TryMeButton = ({ code }) => {
7676
className={styles.TryMeButton}
7777
title="Try this code in Streamlit Playground"
7878
>
79-
<span className={styles.TryMeLabel}>Try it!</span>
79+
<span className={styles.TryMeLabel}>Try it</span>
8080
<i className={`material-icons-sharp ${styles.TryMeIcon}`}>
8181
arrow_outward
8282
</i>

components/blocks/code.module.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
}
55

66
.Header {
7-
@apply flex items-center px-3 py-1 bg-gray-10 text-gray-70 text-sm font-medium tracking-wide rounded-t-md border-b border-gray-30;
7+
@apply flex items-center px-3 py-1 bg-gray-10 text-gray-70 text-sm font-mono text-sm font-medium tracking-wide rounded-t-md border-b border-gray-30;
88
min-height: 2.5rem;
99
}
1010

@@ -13,11 +13,11 @@
1313
}
1414

1515
.Language {
16-
@apply uppercase tracking-wider pr-4;
16+
@apply uppercase pr-4 font-mono;
1717
}
1818

1919
.Filename {
20-
@apply font-mono text-sm leading-6 pr-4;
20+
@apply leading-6 pr-4;
2121
}
2222

2323
.HasHeader {
@@ -103,5 +103,5 @@
103103
}
104104

105105
.TryMeLabel {
106-
@apply hidden sm:inline;
106+
@apply hidden sm:inline tracking-tight;
107107
}

0 commit comments

Comments
 (0)