Skip to content

Commit

Permalink
Fix tooltip modal (#458)
Browse files Browse the repository at this point in the history
* fix: tooltip text

* fix: spacings on modal
  • Loading branch information
debs-obrien committed Aug 4, 2020
1 parent b103377 commit 74e8825
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
11 changes: 10 additions & 1 deletion components/global/bases/AppModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<div class="modal-container flex flex-col">
<div class="w-full flex justify-end">
<button
class="mb-4 w-auto"
class="xs:m-2 mb-4 w-auto"
data-cy="modal-close"
@click="showModal = false"
>
Expand Down Expand Up @@ -108,6 +108,15 @@ export default {
transition: all 0.3s ease;
width: calc(100vw - 80px);
}
@media (max-width: 678px) {
.modal-container {
border-radius: 0;
height: 100vh;
margin: 0;
padding: 0;
width: 100%;
}
}
.modal-body {
display: flex;
Expand Down
4 changes: 2 additions & 2 deletions content/en/guides/directory-structure/plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,9 @@ npm install v-tooltip
</code-block>
</code-group>

The we create the file `plugins/vue-notifications.js`
The we create the file `plugins/vue-tooltip.js`

```js{}[plugins/vue-notifications.js]
```js{}[plugins/vue-tooltip.js]
import Vue from 'vue'
import VTooltip from 'v-tooltip'
Expand Down

0 comments on commit 74e8825

Please sign in to comment.