mirror of
https://github.com/harness/drone.git
synced 2025-05-04 20:23:25 +08:00
fix: [code-1432]: fix image carousel (#1047)
This commit is contained in:
parent
a6d017de02
commit
3dc20be4fb
@ -13,19 +13,24 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
.imageModal {
|
.imageModal {
|
||||||
width: 100% !important;
|
width: 100% !important;
|
||||||
background: unset !important;
|
background: unset !important;
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
width: fit-content !important;
|
width: 100% !important;
|
||||||
|
max-width: 100vw;
|
||||||
|
height: auto;
|
||||||
background: unset !important;
|
background: unset !important;
|
||||||
|
overflow: hidden;
|
||||||
|
|
||||||
overflow: visible;
|
|
||||||
.image {
|
.image {
|
||||||
padding: var(--spacing-small);
|
padding: var(--spacing-small);
|
||||||
scale: 1;
|
width: 100%;
|
||||||
|
height: auto;
|
||||||
|
object-fit: contain;
|
||||||
|
display: block;
|
||||||
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -48,7 +53,7 @@
|
|||||||
.Dialog--children,
|
.Dialog--children,
|
||||||
.Carousel--carouselItem {
|
.Carousel--carouselItem {
|
||||||
justify-content: center !important;
|
justify-content: center !important;
|
||||||
display: flex !important;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.Dialog--close {
|
.Dialog--close {
|
||||||
|
Loading…
Reference in New Issue
Block a user