Adrià Vilanova Martínez | 2d9be8d | 2022-12-28 00:50:14 +0100 | [diff] [blame] | 1 | /* Small adjustement to reduce spacing, since it's excessive when adding the toolbar. */ |
| 2 | body.TWPT-threadtoolbar-shown ec-thread .scTailwindThreadThreadcontentreplies-section { |
| 3 | padding-top: 0.5rem; |
| 4 | } |
| 5 | |
| 6 | /* Hide reply button when a thread is flattened, since it might not work correctly */ |
Adrià Vilanova Martínez | 115e3d8 | 2023-01-10 21:50:06 +0100 | [diff] [blame] | 7 | @supports selector(:has(div)) { |
| 8 | body.TWPT-flattenthreads-enabled ec-thread sc-tailwind-thread-message-message-list:last-child .scTailwindThreadMessageMessagecardsub-content:not(:has(.scTailwindThreadMessageMessagecardreply-editor)) { |
| 9 | display: none; |
| 10 | } |
| 11 | } |
| 12 | /* Fallback support for browsers which do not support :has(...) */ |
| 13 | @supports not selector(:has(div)) { |
| 14 | body.TWPT-flattenthreads-enabled ec-thread sc-tailwind-thread-message-message-list:last-child .scTailwindThreadMessageMessagecardsub-content .scTailwindThreadMessageMessagecardaction { |
| 15 | padding: 0; |
| 16 | } |
| 17 | |
| 18 | body.TWPT-flattenthreads-enabled ec-thread sc-tailwind-thread-message-message-list:last-child .scTailwindThreadMessageMessagecardsub-content .scTailwindThreadMessageMessagecardaction .scTailwindThreadMessageMessagecardadd-comment { |
| 19 | display: none; |
| 20 | } |
| 21 | |
| 22 | body.TWPT-flattenthreads-enabled ec-thread sc-tailwind-thread-message-message-list:last-child .scTailwindThreadMessageMessagecardsub-content .scTailwindThreadMessageMessagecardaction .scTailwindThreadMessageMessagecardreply-editor { |
| 23 | margin: 0.5rem; |
| 24 | } |
| 25 | |
| 26 | @media (min-width: 37.5rem) { |
| 27 | body.TWPT-flattenthreads-enabled ec-thread sc-tailwind-thread-message-message-list:last-child .scTailwindThreadMessageMessagecardsub-content .scTailwindThreadMessageMessagecardaction .scTailwindThreadMessageMessagecardreply-editor { |
| 28 | margin: 0.5rem 3.5rem; |
| 29 | } |
| 30 | } |
Adrià Vilanova Martínez | 2d9be8d | 2022-12-28 00:50:14 +0100 | [diff] [blame] | 31 | } |