mirror of
https://github.com/primer/css.git
synced 2024-12-03 03:33:40 +03:00
Move utility classes to layout, to align with rest of primer
This commit is contained in:
parent
8d0ca03ed7
commit
f60b78151a
@ -5,4 +5,3 @@
|
||||
@import "./layout.scss";
|
||||
@import "./margin.scss";
|
||||
@import "./padding.scss";
|
||||
@import "./sizing.scss";
|
||||
|
@ -28,6 +28,14 @@
|
||||
}
|
||||
}
|
||||
|
||||
// Width and height utilities, especially needed when the
|
||||
// dimensions of an image are set in HTML
|
||||
.width-auto { width: auto !important; }
|
||||
.height-auto { height: auto !important; }
|
||||
|
||||
// Make an object fill its parent
|
||||
.object-fit-cover { object-fit: cover !important; }
|
||||
|
||||
// Handling z-index
|
||||
.z-1 { z-index: 1 !important; }
|
||||
.z-2 { z-index: 2 !important; }
|
||||
|
@ -1,13 +0,0 @@
|
||||
// Sizing utilities for marketing
|
||||
|
||||
.width-auto {
|
||||
width: auto !important;
|
||||
}
|
||||
|
||||
.height-auto {
|
||||
height: auto !important;
|
||||
}
|
||||
|
||||
.object-fit-cover {
|
||||
object-fit: cover !important;
|
||||
}
|
Loading…
Reference in New Issue
Block a user