mirror of
https://github.com/bendtherules/is-nifty-open.git
synced 2026-08-18 13:52:20 +00:00
ClosedReason - Add base div, add CSS with differential highlighting
This commit is contained in:
@@ -0,0 +1,8 @@
|
|||||||
|
.holidayPrefixText {
|
||||||
|
font-size: 0.6em;
|
||||||
|
color: rgba(255, 255, 255, 0.75);
|
||||||
|
}
|
||||||
|
|
||||||
|
.holidayName {
|
||||||
|
color: rgba(255, 255, 255, 1);
|
||||||
|
}
|
||||||
@@ -1,5 +1,6 @@
|
|||||||
import * as React from 'react';
|
import * as React from 'react';
|
||||||
import { Holiday } from '../../Data/index';
|
import { Holiday } from '../../Data/index';
|
||||||
|
import './Component.css';
|
||||||
|
|
||||||
type ObjectWithHoliday = { holiday: Holiday };
|
type ObjectWithHoliday = { holiday: Holiday };
|
||||||
|
|
||||||
@@ -13,7 +14,7 @@ export class ClosedReason extends React.Component<ObjectWithHoliday, {}> {
|
|||||||
|
|
||||||
render() {
|
render() {
|
||||||
return (
|
return (
|
||||||
<div className="answerReason">
|
<div className="ClosedReason">
|
||||||
<div className="holidayPrefixText">
|
<div className="holidayPrefixText">
|
||||||
Closed due to
|
Closed due to
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user