change matched table layout
This commit is contained in:
@@ -31,7 +31,7 @@ export default function FilePageViolationInfoTabs({ selectedViolation, updateSta
|
||||
<h4>Вы можете</h4>
|
||||
<div className="violation-info-choice-buttons">
|
||||
<button
|
||||
className="violation-info-choice-btn"
|
||||
className="btn btn-primary"
|
||||
onClick={() => {
|
||||
setShowTabs(true);
|
||||
setActiveTab('complaint');
|
||||
@@ -45,7 +45,7 @@ export default function FilePageViolationInfoTabs({ selectedViolation, updateSta
|
||||
</span>
|
||||
|
||||
<button
|
||||
className="violation-info-choice-btn"
|
||||
className="btn btn-primary"
|
||||
onClick={() => {
|
||||
setShowTabs(true);
|
||||
setActiveTab('legal');
|
||||
@@ -62,13 +62,13 @@ export default function FilePageViolationInfoTabs({ selectedViolation, updateSta
|
||||
<div className="violation-info-tabs-wrapper">
|
||||
<div className="violation-info-tabs">
|
||||
<button
|
||||
className={`violation-info-tab ${activeTab === 'complaint' ? 'violation-info-tab--active' : ''}`}
|
||||
className={`btn btn-primary ${activeTab === 'complaint' ? 'active' : ''}`}
|
||||
onClick={() => setActiveTab('complaint')}
|
||||
>
|
||||
Жалоба
|
||||
</button>
|
||||
<button
|
||||
className={`violation-info-tab ${activeTab === 'legal' ? 'violation-info-tab--active' : ''}`}
|
||||
className={`btn btn-primary ${activeTab === 'legal' ? 'active' : ''}`}
|
||||
onClick={() => setActiveTab('legal')}
|
||||
>
|
||||
Претензия
|
||||
|
||||
Reference in New Issue
Block a user