Skip to content

Commit

Permalink
Fix some styling issues
Browse files Browse the repository at this point in the history
  • Loading branch information
bkis committed Jun 26, 2023
1 parent 906f38b commit bb0013c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
6 changes: 5 additions & 1 deletion Tekst-Web/src/assets/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,11 @@ h5:first-child {
max-width: 95%;
}

.tekst-modal-large {
.tekst-modal-small {
width: 480px;
}

.tekst-modal-full {
width: var(--max-app-width);
}

Expand Down
5 changes: 3 additions & 2 deletions Tekst-Web/src/components/LoginModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ onMounted(() => {
show
preset="card"
size="large"
class="tekst-modal"
class="tekst-modal tekst-modal-small"
@close="reject(null)"
@mask-click="reject(null)"
to="#app-container"
Expand Down Expand Up @@ -160,6 +160,7 @@ onMounted(() => {

<style scoped>
.login-message {
padding-bottom: 1rem;
margin-bottom: 1.5rem;
text-align: center;
}
</style>
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ async function handleClick() {
<n-modal
v-model:show="showModal"
preset="card"
class="tekst-modal tekst-modal-large"
class="tekst-modal tekst-modal-full"
size="large"
:bordered="false"
:auto-focus="false"
Expand Down

0 comments on commit bb0013c

Please sign in to comment.