Skip to content

Commit 4bbad18

Browse files
committed
KTL-1161 fix: fixed border radius for images at news page
1 parent 1a89d33 commit 4bbad18

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

src/components/Markdown/CustomTags.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export { default as YoutubePlayer} from "@jetbrains/kotlin-web-site-ui/out/components/youtube-player";
1+
export { default as YoutubePlayer } from '@jetbrains/kotlin-web-site-ui/out/components/youtube-player';
22
export { KtlLayout as Layout } from '../KtlLayout';
33
export { Answer, FAQ, Question } from '../FAQ';
44
export { Structure } from '../Structure';

src/components/Markdown/modern.module.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@
4848
}
4949
}
5050

51-
pre.codeBlock, .codeBlock {
51+
pre.codeBlock,
52+
.codeBlock {
5253
display: inline-block;
5354
box-sizing: border-box;
5455
padding: var(--ktl-box-block-l);
@@ -64,7 +65,7 @@ pre.codeBlock, .codeBlock {
6465
display: block;
6566

6667
background: #f3f3f3;
67-
font-family: "JetBrains Mono", SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace;
68+
font-family: 'JetBrains Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace;
6869
line-height: 1.5;
6970
}
7071

src/components/Posts/posts.module.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@
6767
.imageTag {
6868
max-width: 328px;
6969
width: 100%;
70+
border-radius: 16px;
7071

7172
@media (--ktl-ms) {
7273
max-width: 272px;

0 commit comments

Comments
 (0)