Editor and elemental improvements

This commit is contained in:
Tony Air 2020-04-11 20:25:41 +07:00
parent b1307f47dd
commit 717b4a9fe1
5 changed files with 37 additions and 4 deletions

16
dist/css/app.css vendored
View File

@ -16161,7 +16161,21 @@ h6,
.typography td, .typography td,
.typography img, .typography img,
.typography iframe { .typography iframe {
max-width: 100%; max-width: 100% !important;
}
@media (max-width: 575px) {
.typography div,
.typography table,
.typography p,
.typography tr,
.typography th,
.typography td,
.typography img,
.typography iframe {
display: block;
width: 100% !important;
}
} }
.typography > *:last-child { .typography > *:last-child {

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
{ {
"name": "@a2nt/ss-bootstrap-ui-webpack-boilerplate", "name": "@a2nt/ss-bootstrap-ui-webpack-boilerplate",
"version": "1.9.0", "version": "1.9.2",
"author": "Tony Air <tony@twma.pro>", "author": "Tony Air <tony@twma.pro>",
"license": "MIT", "license": "MIT",
"description": "This UI Kit allows you to build Bootstrap 4 webapp with some extra UI features. It's easy to extend and easy to convert HTML templates to CMS templates.", "description": "This UI Kit allows you to build Bootstrap 4 webapp with some extra UI features. It's easy to extend and easy to convert HTML templates to CMS templates.",

View File

@ -1,6 +1,9 @@
/* /*
* Basic styles for silverstripe-elemental * Basic styles for silverstripe-elemental
*/ */
.blog-post-info {
position: relative;
}
// add top/bottom paddings for basic elements // add top/bottom paddings for basic elements
.element { .element {
@ -62,3 +65,15 @@
padding-right: 0; padding-right: 0;
} }
} }
.element {
.elemental-area {
.element {
.container,
.container-fluid {
padding: 0;
width: auto;
}
}
}
}

View File

@ -121,5 +121,9 @@ th,
td, td,
img, img,
iframe { iframe {
max-width: 100%; max-width: 100% !important;
@media (max-width: map-get($grid-breakpoints, 'sm') - 1) {
display: block;
width: 100% !important;
}
} }