mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-22 19:46:23 +00:00
fix(style): prevent callout icon from shrinking on long titles (closes #792)
This commit is contained in:
parent
0a3379a853
commit
260498a96b
1 changed files with 3 additions and 3 deletions
|
@ -120,7 +120,7 @@
|
|||
|
||||
.callout-title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
align-items: flex-start;
|
||||
gap: 5px;
|
||||
padding: 1rem 0;
|
||||
color: var(--color);
|
||||
|
@ -131,8 +131,6 @@
|
|||
transition: transform 0.15s ease;
|
||||
opacity: 0.8;
|
||||
cursor: pointer;
|
||||
width: var(--icon-size);
|
||||
height: var(--icon-size);
|
||||
--callout-icon: var(--callout-icon-fold);
|
||||
}
|
||||
|
||||
|
@ -145,6 +143,7 @@
|
|||
& .fold-callout-icon {
|
||||
width: var(--icon-size);
|
||||
height: var(--icon-size);
|
||||
flex: 0 0 var(--icon-size);
|
||||
|
||||
// icon support
|
||||
background-size: var(--icon-size) var(--icon-size);
|
||||
|
@ -154,6 +153,7 @@
|
|||
mask-size: var(--icon-size) var(--icon-size);
|
||||
mask-position: center;
|
||||
mask-repeat: no-repeat;
|
||||
padding: 0.2rem 0;
|
||||
}
|
||||
|
||||
.callout-title-inner {
|
||||
|
|
Loading…
Reference in a new issue