mirror of
https://github.com/cotes2020/jekyll-theme-chirpy.git
synced 2025-12-18 13:44:15 +00:00
fix: the icon position of the prompts in the list is incorrect
This commit is contained in:
@@ -132,6 +132,7 @@ blockquote {
|
|||||||
|
|
||||||
&[class^="prompt-"] {
|
&[class^="prompt-"] {
|
||||||
border-left: 0;
|
border-left: 0;
|
||||||
|
position: relative;
|
||||||
padding: 1rem 1rem 1rem 3rem;
|
padding: 1rem 1rem 1rem 3rem;
|
||||||
color: var(--prompt-text-color);
|
color: var(--prompt-text-color);
|
||||||
|
|
||||||
@@ -139,9 +140,9 @@ blockquote {
|
|||||||
|
|
||||||
&::before {
|
&::before {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
width: 1.25rem;
|
width: 3rem;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 2.5rem;
|
left: 0.25rem;
|
||||||
margin-top: 0.4rem;
|
margin-top: 0.4rem;
|
||||||
text-rendering: auto;
|
text-rendering: auto;
|
||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
|
|||||||
Reference in New Issue
Block a user