Skip to content

Commit e4a6e16

Browse files
committed
Flexible modal width for help modal on non-mobile
Signed-off-by: Jonas <jonas@freesources.org>
1 parent 2920de9 commit e4a6e16

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/HelpModal.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,13 +225,15 @@ export default {
225225
<style lang="scss" scoped>
226226
:deep(.modal-wrapper) {
227227
.modal-container {
228+
width: max-content;
228229
padding: 30px 40px 20px;
229230
user-select: text;
230231
}
231232
232233
// Remove padding-right on mobile, screen might not be wide enough
233234
@media only screen and (max-width: 512px) {
234235
.modal-container {
236+
width: inherit;
235237
padding: 30px 0 20px 40px;
236238
}
237239
}

0 commit comments

Comments
 (0)