Skip to content

Commit bd709af

Browse files
committed
fix: add select and flloating-label minimum css for rendering
1 parent df010fa commit bd709af

File tree

2 files changed

+30
-2
lines changed

2 files changed

+30
-2
lines changed

src/css/core.css

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,4 +108,32 @@ a[filter-sort-toggle=desc]:before {
108108
border-color: red!important;
109109
color: red!important;
110110
-webkit-text-fill-color: red!important;
111-
}
111+
}
112+
113+
/**
114+
* ToDo: Reuires away for CoCreateJS to add to min.css as it is minimum required csss for rendering
115+
*/
116+
cocreate-select:not(.active) > * {
117+
visibility: hidden;
118+
}
119+
120+
floating-label, .floating-label_field {
121+
position: relative;
122+
margin-top:10px;
123+
display: block;
124+
box-sizing: border-box;
125+
border-width: 1px;
126+
border-style: solid;
127+
border-radius: 4px 4px 4px 4px;
128+
border-color: rgba(0, 0, 0, 0.24)
129+
130+
}
131+
132+
floating-label .floating-label,
133+
.floating-label_field .floating-label {
134+
padding: 8px 14px 8px 14px;
135+
border: none !important;
136+
outline: none !important;
137+
font-size: 16px;
138+
line-height: 1.5;
139+
}

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ import './css/navbar.css';
1212
import './css/overlay-content.css';
1313
import './css/progressbar.css';
1414
import './css/scroll.css';
15-
import '@cocreate/floating-label/src/index.css';
15+
// import '@cocreate/floating-label/src/index.css';

0 commit comments

Comments
 (0)