mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-19 23:52:05 +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-wrap">
|
||||||
<div class="info">
|
<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">
|
<span class="text-base-12 name">
|
||||||
{file.filename}
|
{file.filename}
|
||||||
</span>
|
</span>
|
||||||
@ -160,6 +160,10 @@
|
|||||||
gap: var(--space-6);
|
gap: var(--space-6);
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.file-icon {
|
||||||
|
width: var(--space-12);
|
||||||
|
}
|
||||||
.name {
|
.name {
|
||||||
color: var(--clr-theme-scale-ntrl-0);
|
color: var(--clr-theme-scale-ntrl-0);
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
Loading…
Reference in New Issue
Block a user