mirror of
https://github.com/grafana/grafana.git
synced 2024-12-01 21:19:28 -06:00
9bbc007cb9
* Add width property * Remove unused import * Spelling mistake * Add width to interface * Make width optional * Remove size * Update snapshot * Remove size from places * Add size prop for button * Update width * Update snapshots
33 lines
478 B
SCSS
33 lines
478 B
SCSS
.max-width {
|
|
width: 100%;
|
|
}
|
|
.width-auto {
|
|
width: auto;
|
|
}
|
|
|
|
// widths
|
|
@for $i from 1 through 30 {
|
|
.width-#{$i} {
|
|
width: ($spacer * $i) !important;
|
|
}
|
|
}
|
|
|
|
@for $i from 1 through 30 {
|
|
.max-width-#{$i} {
|
|
max-width: ($spacer * $i) !important;
|
|
flex-grow: 1;
|
|
}
|
|
}
|
|
|
|
@for $i from 1 through 30 {
|
|
.min-width-#{$i} {
|
|
min-width: ($spacer * $i) !important;
|
|
}
|
|
}
|
|
|
|
@for $i from 1 through 30 {
|
|
.offset-width-#{$i} {
|
|
margin-left: ($spacer * $i) !important;
|
|
}
|
|
}
|