mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-12 19:06:06 +00:00
Merge pull request #14792 from overleaf/rd-report-remove-li-element
Accessibility - use CSS instead of empty list item for spacing in the filetree GitOrigin-RevId: 2ee330dc867c223394afa9ccce1017a79c7112c1
This commit is contained in:
parent
40035985c7
commit
bd7f6bf6d4
4 changed files with 8 additions and 8 deletions
|
@ -77,9 +77,7 @@ function FileTreeRootFolder() {
|
|||
dropRef={dropRef}
|
||||
isOver={isOver}
|
||||
dataTestId="file-tree-list-root"
|
||||
>
|
||||
<li className="bottom-buffer" />
|
||||
</FileTreeFolderList>
|
||||
/>
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
|
|
@ -30,8 +30,6 @@ export default function HistoryFileTree() {
|
|||
folders={mappedFileTree.folders}
|
||||
docs={mappedFileTree.docs ?? []}
|
||||
rootClassName="history-file-tree-list"
|
||||
>
|
||||
<li className="bottom-buffer" />
|
||||
</HistoryFileTreeFolderList>
|
||||
/>
|
||||
)
|
||||
}
|
||||
|
|
|
@ -96,7 +96,9 @@
|
|||
margin-left: 22px;
|
||||
}
|
||||
|
||||
li.bottom-buffer {
|
||||
&::after {
|
||||
content: '';
|
||||
display: block;
|
||||
min-height: @line-height-computed;
|
||||
}
|
||||
|
||||
|
|
|
@ -432,7 +432,9 @@ history-root {
|
|||
margin-left: 22px;
|
||||
}
|
||||
|
||||
li.bottom-buffer {
|
||||
&::after {
|
||||
content: '';
|
||||
display: block;
|
||||
min-height: @line-height-computed;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue