mirror of
https://github.com/primer/css.git
synced 2024-09-20 21:28:20 +03:00
Merge branch 'dev' into shawnbot/friendly-scripts
This commit is contained in:
commit
f855f56102
@ -8,7 +8,8 @@
|
||||
"style": "build/build.css",
|
||||
"main": "build/index.js",
|
||||
"primer": {
|
||||
"category": "core"
|
||||
"category": "core",
|
||||
"module_type": "meta"
|
||||
},
|
||||
"files": [
|
||||
"index.scss",
|
||||
|
@ -6,6 +6,9 @@
|
||||
"author": "GitHub, Inc.",
|
||||
"license": "MIT",
|
||||
"style": "build/build.css",
|
||||
"primer": {
|
||||
"module_type": "meta"
|
||||
},
|
||||
"files": [
|
||||
"index.scss",
|
||||
"lib",
|
||||
|
@ -8,7 +8,8 @@
|
||||
"style": "build/build.css",
|
||||
"main": "build/index.js",
|
||||
"primer": {
|
||||
"category": "marketing"
|
||||
"category": "marketing",
|
||||
"module_type": "meta"
|
||||
},
|
||||
"files": [
|
||||
"index.scss",
|
||||
|
@ -8,7 +8,8 @@
|
||||
"style": "build/build.css",
|
||||
"main": "build/index.js",
|
||||
"primer": {
|
||||
"category": "product"
|
||||
"category": "product",
|
||||
"module_type": "meta"
|
||||
},
|
||||
"files": [
|
||||
"index.scss",
|
||||
|
@ -30,6 +30,8 @@
|
||||
.v-align-text-top { vertical-align: text-top !important; }
|
||||
/* Vertical align to the bottom of the text */
|
||||
.v-align-text-bottom { vertical-align: text-bottom !important; }
|
||||
/* Vertical align to the parent's baseline */
|
||||
.v-align-baseline { vertical-align: baseline !important; }
|
||||
|
||||
// Overflow utilities
|
||||
// overflow-hidden can also be used to create a new
|
||||
@ -81,14 +83,14 @@
|
||||
.min-width-0 { min-width: 0 !important; }
|
||||
|
||||
// Direction utilities
|
||||
|
||||
/* Set the direction to rtl */
|
||||
.direction-rtl { direction: rtl !important; }
|
||||
|
||||
/* Set the direction to ltr */
|
||||
.direction-ltr { direction: ltr !important; }
|
||||
|
||||
@each $breakpoint in map-keys($breakpoints) {
|
||||
@include breakpoint($breakpoint) {
|
||||
/* Set the direction to ltr at the #{$breakpoint} breakpoint */
|
||||
/* Set the direction to rtl at the #{$breakpoint} breakpoint */
|
||||
.direction-#{$breakpoint}-rtl { direction: rtl !important; }
|
||||
/* Set the direction to ltr at the #{$breakpoint} breakpoint */
|
||||
.direction-#{$breakpoint}-ltr { direction: ltr !important; }
|
||||
|
Loading…
Reference in New Issue
Block a user