Fix keyboard shortcuts on settings tab being wrapped (#8825)
* Fix keyboard shortcuts being wrapped Setting $spacing-8 gap between the labels and the shortcuts Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com> * Add the block margin to the rows, not to the keys Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com> * Add the inline margin to the shortcuts, not to the keys Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
This commit is contained in:
@@ -20,17 +20,11 @@ limitations under the License.
|
||||
padding: 5px;
|
||||
border-radius: 4px;
|
||||
background-color: $header-panel-bg-color;
|
||||
margin-right: 5px;
|
||||
min-width: 20px;
|
||||
text-align: center;
|
||||
display: inline-block;
|
||||
border: 1px solid $kbd-border-color;
|
||||
box-shadow: 0 2px $kbd-border-color;
|
||||
margin-bottom: 4px;
|
||||
text-transform: capitalize;
|
||||
|
||||
& + kbd {
|
||||
margin-left: 5px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user