Moved infobox to modal
This commit is contained in:
1 parent
1719148c58
commit
0e4e4783fa
16 files changed
+222
-182
No files matched your search
@@ -1,9 +1,17 @@
|
||||
.input-text-view {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
max-height: 2em;
|
||||
}
|
||||
|
||||
.input-text-view.view span {
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
word-break: break-all;
|
||||
word-wrap: break-word;
|
||||
line-break: loose;
|
||||
overflow-wrap: break-word;
|
||||
}
|
||||
|
||||
.input-text-view.edit .MuiFilledInput-input {
|
||||
padding-top: 0.5em;
|
||||
padding-bottom: 0.5em;
|
||||
@@ -38,4 +46,5 @@
|
||||
|
||||
.input-text-view.view .input-text-view--edit:hover {
|
||||
transform: rotate(15deg);
|
||||
cursor: pointer;
|
||||
}
|
||||
@@ -26,7 +26,7 @@ export const InputTextView: FC<InputTextViewProps> = (props) => {
|
||||
return (
|
||||
<div className={className} onClick={() => setViewMode(false)}>
|
||||
{!!props.value ? (
|
||||
props.value
|
||||
<span>{props.value}</span>
|
||||
) : (
|
||||
<span className="input-text-view--placeholder">
|
||||
{props.placeholder}
|
||||
|
||||
Reference in new issue
Block a user