main

mattermost/focalboard

Last updated at: 29/12/2023 09:42

_markdown.scss

TLDR

This file provides styles for Markdown elements.

Classes

.markdown__table

This class contains styles for Markdown tables. It sets the margin, background, and border properties for tables. Additionally, it defines styles for table headers, table cells, and link elements within tables. Rows in the table body have a background color that matches the main background color of the page.

.markdown__table {
    margin: 5px 0 10px;
    background: var(--center-channel-bg);
    border-collapse: collapse;

    th,
    td {
        padding: 6px 13px;
        border: 1px solid #ddd;
    }

    a {
        white-space: nowrap;
        word-break: initial;
    }

    tbody tr {
        background: var(--center-channel-bg);
    }
}