Merge branch 'table-style' into 'main'
added table styling to rich text markdown content statuses See merge request soapbox-pub/soapbox!2724
This commit is contained in:
commit
b502cb1273
1 changed files with 12 additions and 0 deletions
|
@ -51,6 +51,18 @@
|
|||
@apply py-1 pl-4 mb-4 border-l-4 border-solid border-gray-400 text-gray-500 dark:text-gray-400;
|
||||
}
|
||||
|
||||
[data-markup] table {
|
||||
@apply table-auto w-full bg-gray-200 dark:bg-gray-900 my-4 rounded-md;
|
||||
}
|
||||
|
||||
[data-markup] table th, table td {
|
||||
@apply text-center px-2;
|
||||
}
|
||||
|
||||
[data-markup] table th {
|
||||
@apply border-b-2 border-gray-600;
|
||||
}
|
||||
|
||||
[data-markup] code,
|
||||
[data-markup] pre {
|
||||
@apply cursor-text font-mono;
|
||||
|
|
Loading…
Reference in a new issue