Add spacing to table cells in messages

This commit is contained in:
miruka 2020-07-13 23:36:55 -04:00
parent ec9004101a
commit ce9b739889
2 changed files with 16 additions and 0 deletions

View File

@ -440,6 +440,14 @@ chat:
"h5 { font-size: " + fontSize.small + "px }" + "h5 { font-size: " + fontSize.small + "px }" +
"h6 { font-size: " + fontSize.smaller + "px }" + "h6 { font-size: " + fontSize.smaller + "px }" +
"table { margin-top: " + theme.spacing + "px; " +
" margin-bottom: " + theme.spacing + "px }" +
"td { padding-left: " + theme.spacing / 2 + "px; " +
" padding-right: " + theme.spacing / 2 + "px; " +
" padding-top: " + theme.spacing / 4 + "px; " +
" padding-bottom: " + theme.spacing / 4 + "px } " +
".sender { margin-bottom: " + spacing / 2 + " }" + ".sender { margin-bottom: " + spacing / 2 + " }" +
".quote { color: " + quote + " }" + ".quote { color: " + quote + " }" +

View File

@ -449,6 +449,14 @@ chat:
"h5 { font-size: " + fontSize.small + "px }" + "h5 { font-size: " + fontSize.small + "px }" +
"h6 { font-size: " + fontSize.smaller + "px }" + "h6 { font-size: " + fontSize.smaller + "px }" +
"table { margin-top: " + theme.spacing + "px; " +
" margin-bottom: " + theme.spacing + "px }" +
"td { padding-left: " + theme.spacing / 2 + "px; " +
" padding-right: " + theme.spacing / 2 + "px; " +
" padding-top: " + theme.spacing / 4 + "px; " +
" padding-bottom: " + theme.spacing / 4 + "px } " +
".sender { margin-bottom: " + spacing / 2 + " }" + ".sender { margin-bottom: " + spacing / 2 + " }" +
".quote { color: " + quote + " }" + ".quote { color: " + quote + " }" +