Skip to content

Commit 95df373

Browse files
committed
update image style
1 parent 3a658ac commit 95df373

File tree

2 files changed

+24
-3
lines changed

2 files changed

+24
-3
lines changed

src/css/base.css

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,20 @@ i {
9595
padding: 0 var(--width-container-gutter);
9696
}
9797

98+
@media all and (max-width: 992px) {
99+
.container,
100+
.container-fluid {
101+
padding: 0 2rem;
102+
}
103+
}
104+
105+
@media all and (max-width: 767px) {
106+
.container,
107+
.container-fluid {
108+
padding: 0 1.75rem;
109+
}
110+
}
111+
98112
.hide,
99113
.hide-nav {
100114
display: none;

src/css/doc.css

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -430,10 +430,18 @@ ul ul ul {
430430
/* padding-left: var(--base-space); */
431431
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
432432
border-radius: 5px;
433-
/* align-items: center; */
433+
align-items: center;
434434
max-width: var(--image-block-container);
435435
}
436436

437+
.doc .imageblock.align-left {
438+
align-items: flex-start;
439+
}
440+
441+
.doc .imageblock.align-right {
442+
align-items: flex-end;
443+
}
444+
437445
.doc .imageblock img {
438446
display: inline-block;
439447
}
@@ -578,12 +586,11 @@ ul ul ul {
578586
padding-top: var(--base-large-space);
579587
padding-bottom: var(--base-large-space);
580588
/* white-space: pre-wrap; */
589+
581590
/* NOTE enable these styles if side-to-side scrolling is preferred */
582-
583591
overflow-wrap: normal;
584592
word-wrap: normal;
585593
overflow-x: auto;
586-
587594
background: #0074e00e;
588595
border: 1px solid var(--color-brand-gray8);
589596
border-radius: 3px;

0 commit comments

Comments
 (0)