mirror of
https://github.com/docker/docs.git
synced 2026-04-12 06:19:22 +07:00
_scss: minor changes to styles for "get docker" blocks
Make the rule more specific, reduce margin around tiles, and remove unneeded float. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
@@ -63,23 +63,21 @@ code {
|
||||
margin: 0 0 50px;
|
||||
width: 100%;
|
||||
|
||||
.block {
|
||||
padding: 0 15px 10px 15px;
|
||||
}
|
||||
|
||||
.row {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.row > [class*='col-'] {
|
||||
|
||||
// "get-docker" tiles
|
||||
.row > .block {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.component {
|
||||
padding: 15px 25px 15px 15px;
|
||||
text-align: center;
|
||||
float: left;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
background: $bg-component;
|
||||
|
||||
Reference in New Issue
Block a user