1
0

fix(task): make sure the modal close button is not overlapped with the title field (#3256)

Resolves https://kolaente.dev/vikunja/frontend/issues/3252
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/3256
Co-authored-by: kolaente <k@knt.li>
Co-committed-by: kolaente <k@knt.li>
This commit is contained in:
kolaente
2023-10-22 17:40:50 +00:00
committed by konrad
parent c1149273f9
commit 0b294de132
3 changed files with 12 additions and 3 deletions

View File

@ -113,7 +113,7 @@ async function save(title: string) {
<style lang="scss" scoped>
.heading {
display: flex;
justify-content: space-between;
justify-content: flex-start;
text-transform: none;
align-items: center;
@ -134,6 +134,10 @@ async function save(title: string) {
@media screen and (max-width: $tablet) {
margin: 0 -.3rem .5rem -.3rem; // the title has 0.3rem padding - this make the text inside of it align with the rest
}
@media screen and (min-width: $tablet) and (max-width: #{$desktop + $close-button-min-space}) {
width: calc(100% - 6.5rem);
}
}
.title.task-id {