File tree Expand file tree Collapse file tree 1 file changed +13
-4
lines changed
src/_patterns/02-components/bolt-blockquote/src Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -75,10 +75,11 @@ bolt-blockquote {
75
75
.c-bolt-blockquote {
76
76
@include bolt-margin (0 );
77
77
78
- & :before , & :after {
78
+ & :before ,
79
+ & :after {
79
80
width : 100% ;
80
- max-width : 300px ;
81
81
height : $bolt-blockquote-border-width ;
82
+ max-width : 300px ;
82
83
content : ' ' ;
83
84
vertical-align : top ;
84
85
background-color : $bolt-blockquote-border-color ;
@@ -110,7 +111,8 @@ bolt-blockquote {
110
111
color : inherit ;
111
112
color : var (--bolt-theme-heading , inherit );
112
113
113
- p :first-child :before , p :last-child :after {
114
+ p :first-child :before ,
115
+ p :last-child :after {
114
116
font-family : ' Georgia' , serif ; // TODO: Replace with Noto Serif when it is added.
115
117
}
116
118
@@ -124,15 +126,22 @@ bolt-blockquote {
124
126
}
125
127
126
128
129
+ /* *
130
+ * 1. Workaround to address weird Safari bug w/ overflow + border radius
131
+ * https://gist.github.com/adamcbrewer/5859738#gistcomment-2008691
132
+ */
133
+
127
134
// Attribution
128
135
.c-bolt-blockquote__image {
129
136
display : inline-block ;
137
+ position : relative ; /* [1] */
138
+ z-index : 1 ; /* [1] */
130
139
width : $bolt-blockquote-image-size ;
131
140
height : $bolt-blockquote-image-size ;
132
141
border-width : $bolt-blockquote-image-border-width ;
133
142
border-style : $bolt-blockquote-image-border-style ;
134
143
border-color : $bolt-blockquote-image-border-color ;
135
- border-radius : 100 em ;
144
+ border-radius : 50 % ;
136
145
overflow : hidden ;
137
146
}
138
147
You can’t perform that action at this time.
0 commit comments