mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
* Fix left padding of login button in top menu * Relocate "add" buttons for embedded object tables * Remove unused data template block & getNetboxData() utility function * Remove bottom margin from last <p> element in rendered Markdown inside a table cell * Prevent TomSelect from initializing on <select> elements with a size * Fix styling of dropdown menu button for circuit commit rate * Change .color-block to display: inline-block * Delete unused static asset * Improve contrast between menu group headings & items * Remove custom color for attr-table row headings * Fix border color of copy-to-clipboard button * Fix toast text color in dark mode * Fix rack elevation label/image toggles * Increase border radius for small buttons * Fix object selector
46 lines
748 B
SCSS
46 lines
748 B
SCSS
// Rendered Markdown
|
|
.rendered-markdown {
|
|
|
|
table {
|
|
width: 100%;
|
|
|
|
// Apply a border
|
|
th {
|
|
border-bottom: 2px solid #dddddd;
|
|
padding: 8px;
|
|
}
|
|
td {
|
|
border-top: 1px solid #dddddd;
|
|
padding: 8px;
|
|
}
|
|
|
|
// Map "align" attr of column headings
|
|
th[align="left"] {
|
|
text-align: left;
|
|
}
|
|
th[align="center"] {
|
|
text-align: center;
|
|
}
|
|
th[align="right"] {
|
|
text-align: right;
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
// Remove the bottom margin of <p> elements inside a table cell
|
|
td > .rendered-markdown {
|
|
p:last-of-type {
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
|
|
// Markdown preview
|
|
.markdown-widget {
|
|
.preview {
|
|
border: 1px solid $border-color;
|
|
border-radius: $border-radius;
|
|
min-height: 200px;
|
|
}
|
|
}
|