mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-19 15:41:31 +03:00
fix: added draggable="false" to file-icon and created a class in styles ".file-icon".
formated file fix: width space on file icon fix: format
This commit is contained in:
parent
acb25f3d98
commit
c69ca25cbd
@ -98,7 +98,7 @@
|
||||
>
|
||||
<div class="info-wrap">
|
||||
<div class="info">
|
||||
<img src={getVSIFileIcon(file.path)} alt="js" style="width: var(--space-12)" />
|
||||
<img draggable="false" class="file-icon" src={getVSIFileIcon(file.path)} alt="js" />
|
||||
<span class="text-base-12 name">
|
||||
{file.filename}
|
||||
</span>
|
||||
@ -160,6 +160,10 @@
|
||||
gap: var(--space-6);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.file-icon {
|
||||
width: var(--space-12);
|
||||
}
|
||||
.name {
|
||||
color: var(--clr-theme-scale-ntrl-0);
|
||||
white-space: nowrap;
|
||||
|
Loading…
Reference in New Issue
Block a user