mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2025-01-01 22:12:04 +03:00
Moved no-drag
CSS prop to the image component
This commit is contained in:
parent
a746e2d5c5
commit
2bdf11d1a4
@ -234,10 +234,6 @@
|
||||
margin-top: var(--space-10);
|
||||
margin-bottom: var(--space-20);
|
||||
transform: translateX(-3rem);
|
||||
-webkit-user-drag: none;
|
||||
user-drag: none;
|
||||
-webkit-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.empty-board__about {
|
||||
|
@ -27,4 +27,12 @@
|
||||
});
|
||||
</script>
|
||||
|
||||
<img src={imgSrc} alt="Decorative Art" class="inline-block" />
|
||||
<img src={imgSrc} alt="Decorative Art" class="themed-image" />
|
||||
|
||||
<style>
|
||||
.themed-image {
|
||||
display: inline-block;
|
||||
-webkit-user-drag: none;
|
||||
user-select: none;
|
||||
}
|
||||
</style>
|
||||
|
Loading…
Reference in New Issue
Block a user