mirror of
https://github.com/QuivrHQ/quivr.git
synced 2024-12-15 09:32:22 +03:00
fix(frontend): smalls on thread section (#2286)
# Description Please include a summary of the changes and the related issue. Please also include relevant motivation and context. ## Checklist before requesting a review Please delete options that are not relevant. - [ ] My code follows the style guidelines of this project - [ ] I have performed a self-review of my code - [ ] I have commented hard-to-understand areas - [ ] I have ideally added tests that prove my fix is effective or that my feature works - [ ] New and existing unit tests pass locally with my changes - [ ] Any dependent changes have been merged ## Screenshots (if appropriate):
This commit is contained in:
parent
c67e2ae41b
commit
d021c42d9f
@ -37,6 +37,10 @@
|
||||
}
|
||||
}
|
||||
|
||||
.icon_wrapper {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.options_modal {
|
||||
position: absolute;
|
||||
right: Spacings.$spacing02;
|
||||
@ -44,7 +48,7 @@
|
||||
}
|
||||
|
||||
&:hover {
|
||||
.icons_wrapper {
|
||||
.icon_wrapper {
|
||||
visibility: visible;
|
||||
}
|
||||
}
|
||||
|
@ -101,12 +101,14 @@ export const ThreadItem = ({
|
||||
}
|
||||
}}
|
||||
>
|
||||
<Icon
|
||||
name={editingName ? "check" : "options"}
|
||||
size="small"
|
||||
color="black"
|
||||
handleHover={true}
|
||||
/>
|
||||
<div className={styles.icon_wrapper}>
|
||||
<Icon
|
||||
name={editingName ? "check" : "options"}
|
||||
size="small"
|
||||
color="black"
|
||||
handleHover={true}
|
||||
/>
|
||||
</div>
|
||||
<div ref={optionsRef} className={styles.options_modal}>
|
||||
{optionsOpened && <OptionsModal options={options} />}
|
||||
</div>
|
||||
|
@ -7,6 +7,6 @@
|
||||
margin: Spacings.$spacing02;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: Spacings.$spacing02;
|
||||
gap: calc(#{Spacings.$spacing01} + #{Spacings.$spacing02});
|
||||
position: relative;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user