1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-31 15:24:31 +03:00

Updated attachment links to have dropdown for open type

- Allows easier accessibility of inline attachments.
- Introduces a new split-icon-list-item thingy to support such cases
  where only part of the button is actually linked.
This commit is contained in:
Dan Brown
2022-05-19 17:38:04 +01:00
parent cb10ad804f
commit 2b817e7d24
5 changed files with 87 additions and 7 deletions

View File

@ -396,10 +396,14 @@ body.tox-fullscreen, body.markdown-fullscreen {
}
}
.entity-list-item > span:first-child, .icon-list-item > span:first-child, .chapter-expansion > .icon {
.entity-list-item > span:first-child,
.icon-list-item > span:first-child,
.split-icon-list-item > a > .icon,
.chapter-expansion > .icon {
font-size: 0.8rem;
width: 1.88em;
height: 1.88em;
flex-shrink: 0;
display: flex;
align-items: center;
justify-content: center;