Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: missing spacing between k-label and radio button
- Loading branch information
Showing
4 changed files
with
165 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,121 @@ | ||
<!doctype html> | ||
<html lang="en" class="k-typography k-no-animations"> | ||
<head> | ||
<title>RadioButton</title> | ||
<meta charset="utf-8" /> | ||
<link rel="stylesheet" data-role="kendo-theme" href="../../packages/default/dist/all.css" /> | ||
<link rel="stylesheet" href="assets/styles.css" /> | ||
<script src="assets/scripts.js"></script> | ||
|
||
<style> | ||
#test-area { | ||
align-items: start; | ||
} | ||
|
||
.bold-text { | ||
font-weight: bold; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
|
||
<div id="test-area" class="k-d-grid k-grid-cols-4"> | ||
<section dir="rtl"> | ||
<p dir="rtl">Radio RTL</p> | ||
<input type="radio" name="group3" id="rad5" class="k-radio" checked /><!-- | ||
--><label class="k-radio-label" for="rad5">Checked</label> | ||
<br /><br /> | ||
<input type="radio" name="group4" id="rad7" class="k-radio" disabled checked /><!-- | ||
--><label class="k-radio-label" for="rad7">Checked</label> | ||
<br /><br /> | ||
<input type="radio" name="group3" id="rad6" class="k-radio" /><!-- | ||
--><label class="k-radio-label" for="rad6">Unchecked</label> | ||
<br /><br /> | ||
<input type="radio" name="group4" id="rad8" class="k-radio" disabled /><!-- | ||
--><label class="k-radio-label" for="rad8">Unchecked</label> | ||
<br /><br /> | ||
<input type="radio" name="group3" id="rad9" class="k-radio k-state-invalid" required/><!-- | ||
--><label class="k-radio-label" for="rad9">Invalid</label> | ||
<br /><br /> | ||
<input type="radio" name="groupLong2" id="radLong" class="k-radio" checked /><!-- | ||
--><label class="k-radio-label" for="radLong">Long label Vivamus a arcu lacus. Integer augue leo.</label> | ||
</section> | ||
|
||
<section dir="rtl"> | ||
<p dir="rtl">In label RTL</p> | ||
<label class="k-radio-label"> | ||
<input type="radio" name="group7" class="k-radio" checked /> | ||
Checked | ||
</label> | ||
<br /><br /> | ||
<label class="k-radio-label"> | ||
<input type="radio" name="group8" class="k-radio" disabled checked /> | ||
Checked | ||
</label> | ||
<br /><br /> | ||
<label class="k-radio-label"> | ||
<input type="radio" name="group7" class="k-radio" /> | ||
Unchecked | ||
</label> | ||
<br /><br /> | ||
<label class="k-radio-label"> | ||
<input type="radio" name="group8" class="k-radio" disabled /> | ||
Unchecked | ||
</label> | ||
<br /><br /> | ||
<label class="k-radio-label"> | ||
<input type="radio" name="group7" class="k-radio k-state-invalid" required/> | ||
Invalid | ||
</label> | ||
<br /><br /> | ||
<label class="k-radio-label"> | ||
<input type="radio" name="groupLong4" class="k-radio" checked /> | ||
Long label Vivamus a arcu lacus. Integer augue leo. | ||
</label> | ||
</section> | ||
|
||
<section dir="rtl"> | ||
<p dir="rtl"><span class="bold-text">k-radio-label</span> before radio (RTL)</p> | ||
<label class="k-radio-label" for="rad11">Checked</label><!-- | ||
--><input type="radio" name="group11" id="rad11" class="k-radio" checked /> | ||
<br /><br /> | ||
<label class="k-radio-label" for="rad31">Checked</label><!-- | ||
--><input type="radio" name="group21" id="rad31" class="k-radio" disabled checked /> | ||
<br /><br /> | ||
<label class="k-radio-label" for="rad21">Unchecked</label><!-- | ||
--><input type="radio" name="group11" id="rad21" class="k-radio" /> | ||
<br /><br /> | ||
<label class="k-radio-label" for="rad41">Unchecked</label><!-- | ||
--><input type="radio" name="group21" id="rad41" class="k-radio" disabled /> | ||
<br /><br /> | ||
<label class="k-radio-label" for="radRequired1">Invalid</label><!-- | ||
--><input type="radio" name="group11" id="radRequired1" class="k-radio k-state-invalid" required/> | ||
<br /><br /> | ||
<label class="k-radio-label" for="radLong1">Long label Vivamus a arcu lacus. Integer augue leo.</label><!-- | ||
--><input type="radio" name="groupLong11" id="radLong1" class="k-radio" checked /> | ||
</section> | ||
|
||
<section dir="rtl"> | ||
<p dir="rtl"><span class="bold-text">k-label</span> before radio (RTL)</p> | ||
<label class="k-label" for="rad12">Checked</label><!-- | ||
--><input type="radio" name="group12" id="rad12" class="k-radio" checked /> | ||
<br /><br /> | ||
<label class="k-label" for="rad32">Checked</label><!-- | ||
--><input type="radio" name="group22" id="rad32" class="k-radio" disabled checked /> | ||
<br /><br /> | ||
<label class="k-label" for="rad22">Unchecked</label><!-- | ||
--><input type="radio" name="group12" id="rad22" class="k-radio" /> | ||
<br /><br /> | ||
<label class="k-label" for="rad42">Unchecked</label><!-- | ||
--><input type="radio" name="group22" id="rad42" class="k-radio" disabled /> | ||
<br /><br /> | ||
<label class="k-label" for="radRequired2">Invalid</label><!-- | ||
--><input type="radio" name="group12" id="radRequired2" class="k-radio k-state-invalid" required/> | ||
<br /><br /> | ||
<label class="k-label" for="radLong2">Long label Vivamus a arcu lacus. Integer augue leo.</label><!-- | ||
--><input type="radio" name="groupLong12" id="radLong2" class="k-radio" checked /> | ||
</section> | ||
</div> | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters