Files
react-native-devtools-frontend/front_end/ui/components/settings/settingCheckbox.css
T
Simon Zünd d671734e0d Prevent setting checkboxes from shrinking
This CL fixes a small issue introduced by the SettingCheckbox
component. When the label text gets too long, the checkbox <input>
will shrink in size. This CL adds a min-width/min-height to the input
so the checkbox size stays consistent regardless of label text length.

R=alexrudenko@chromium.org

Fixed: 1294181
Change-Id: I88b57781c4e0aaf11227ea30824b3df38672e018
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3439919
Commit-Queue: Simon Zünd <szuend@chromium.org>
Auto-Submit: Simon Zünd <szuend@chromium.org>
Reviewed-by: Alex Rudenko <alexrudenko@chromium.org>
Commit-Queue: Alex Rudenko <alexrudenko@chromium.org>
2022-02-07 08:20:35 +00:00

29 lines
421 B
CSS

/*
* Copyright 2021 The Chromium Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
:host {
padding: 0;
margin: 0;
}
input {
height: 12px;
width: 12px;
min-height: 12px;
min-width: 12px;
}
label {
display: inline-flex;
align-items: center;
overflow: hidden;
text-overflow: ellipsis;
}
p {
margin: 12px 0;
}