Skip to content

Commit 16ad307

Browse files
committed
芝生の表示を改善
1 parent d24a396 commit 16ad307

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

index.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,11 @@ <h3>Profile</h3>
6565
<div class="bsky-rss">
6666
<h3>最近の活動</h3>
6767
<p>私の芝生</p>
68-
<a href="https://github.com/098orin" target="_blank">
69-
<img src="https://ghchart.rshah.org/098orin" alt="GitHub contributions">
70-
</a>
68+
<div class="ghchart">
69+
<a href="https://github.com/098orin" target="_blank">
70+
<img src="https://ghchart.rshah.org/098orin" alt="GitHub contributions">
71+
</a>
72+
</div>
7173

7274
<p>Blueskyのタイムライン</p>
7375
<script src="https://blueskytimeline.com/timeline.js" async data-handle="098orin.bsky.social" data-theme="light" data-width="420" data-height="500" data-lang="ja" data-ui="0" data-pin="0" data-rp="0" data-thread="0"></script>

style.css

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,12 @@ h1, h2, h3 {
8383
text-align: center;
8484
}
8585

86+
/* ghchart */
87+
.ghchart {
88+
overflow-x: auto; /* 横スクロール */
89+
overflow-y: hidden;
90+
scrollbar-width: thin; /* スクロールバーを細く */
91+
}
8692

8793
/* sns-links */
8894
.sns-links {
@@ -95,7 +101,7 @@ h1, h2, h3 {
95101
flex-wrap: nowrap; /* 折り返さない*/
96102
overflow-x: auto; /* スクロール */
97103
overflow-y: hidden; /* 縦のスクロールは隠す */
98-
scrollbar-width: thin; /* Firefoxのスクロールバーを細く */
104+
scrollbar-width: thin; /* スクロールバーを細く */
99105
}
100106
.sns-links li a {
101107
display: inline-block;

0 commit comments

Comments
 (0)