Skip to content

Commit

Permalink
morebits: stop relying on .toccolours (not available in vector-2022) (w…
Browse files Browse the repository at this point in the history
  • Loading branch information
siddharthvp committed Feb 24, 2023
1 parent 3711515 commit dff0416
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion morebits.css
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,13 @@ div.morebits-previewbox .mw-editsection
display: none;
}

div.morebits-usertext {
border: 1px solid #a2a9b1;
background-color: #f8f9fa;
padding: 5px;
font-size: 95%;
}


/* Morebits.simpleWindow */

Expand Down Expand Up @@ -296,4 +303,4 @@ th.morebits-mbox-text, td.morebits-mbox-text {
border: none;
padding: 0.25em 0.9em;
width: 100%;
}
}
2 changes: 1 addition & 1 deletion morebits.js
Original file line number Diff line number Diff line change
Expand Up @@ -5411,7 +5411,7 @@ Morebits.status.printUserText = function(comments, message) {
var p = document.createElement('p');
p.innerHTML = message;
var div = document.createElement('div');
div.className = 'toccolours';
div.className = 'morebits-usertext';
div.style.marginTop = '0';
div.style.whiteSpace = 'pre-wrap';
div.textContent = comments;
Expand Down

0 comments on commit dff0416

Please sign in to comment.