mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-22 20:12:00 -06:00
17464 fix margins for custom-field markdown description (#17775)
* 17464 fix margins for custom-field markdown description * 17464 fix margins for custom-field markdown description * 17464 review changes * 17464 update comments
This commit is contained in:
parent
81108e405f
commit
27a39339df
BIN
netbox/project-static/dist/netbox.css
vendored
BIN
netbox/project-static/dist/netbox.css
vendored
Binary file not shown.
@ -28,16 +28,19 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Remove the bottom margin of <p> elements inside a table cell
|
// Remove the bottom margin of the last <p> elements in markdown
|
||||||
td > .rendered-markdown {
|
.rendered-markdown {
|
||||||
max-height: 200px;
|
|
||||||
overflow-y: scroll;
|
|
||||||
|
|
||||||
p:last-of-type {
|
p:last-of-type {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// fix layout of rendered markdown inside a table cell
|
||||||
|
td > .rendered-markdown {
|
||||||
|
max-height: 200px;
|
||||||
|
overflow-y: scroll;
|
||||||
|
}
|
||||||
|
|
||||||
// Markdown preview
|
// Markdown preview
|
||||||
.markdown-widget {
|
.markdown-widget {
|
||||||
.preview {
|
.preview {
|
||||||
|
Loading…
Reference in New Issue
Block a user