Jump to content

Template:Dialogue/styles.css: Difference between revisions

 
(4 intermediate revisions by the same user not shown)
Line 5: Line 5:
     margin: 10px 0;
     margin: 10px 0;
     border-radius: 8px;
     border-radius: 8px;
     max-width: 500px;
     max-width: 600px;
     min-height: 40px; /* Ensure it doesn't shrink too much */
    width: auto;
     height: auto;
     display: flex;
     display: flex;
     flex-direction: column;
     flex-direction: column;
    justify-content: flex-start;
     align-items: flex-start;
     align-items: flex-start;
}
}
Line 18: Line 18:
     font-size: 1.2em;
     font-size: 1.2em;
     margin-top: 5px;
     margin-top: 5px;
    width: 100%;
}
}


Line 25: Line 26:
     padding-left: 5px;
     padding-left: 5px;
     word-wrap: break-word;
     word-wrap: break-word;
}
    width: 100%;
 
     white-space: normal;
/* Allow the dialogue box to grow dynamically */
.dialogue-box > * {
     flex-grow: 1;
}
}