这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions console/src/components/ApiExplorer/ApiExplorer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@
opacity: 0.1;
}
.panelInFocus {

}
.requestInFocus {

}
.cursorNotAllowed {
cursor: not-allowed;
Expand Down Expand Up @@ -348,6 +348,8 @@
border: 0;
box-shadow: none;
padding: 10px 12px;
height: auto;
background-color: #fff;
}
}
.sendBtn
Expand Down Expand Up @@ -770,4 +772,3 @@ label


}

4 changes: 2 additions & 2 deletions console/src/components/ApiExplorer/ApiRequest.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,10 @@ class ApiRequest extends Component {
onChange={this.onUrlChanged}
value={this.props.url}
type="text"
readOnly
className={
styles.inputGroupInput +
' form-control ' +
styles.cursorNotAllowed
' form-control '
}
/>
</div>
Expand Down
16 changes: 16 additions & 0 deletions console/src/components/Common/Common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,22 @@ h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6
font-size: 40px;
text-align: center;
}
input::-moz-focus-inner {
outline: 0;
-moz-outline: none;
border:0;
}
select:-moz-focusring
{
color: transparent;
text-shadow: 0 0 0 #000;
}
select::-moz-focus-inner {
outline: 0;
-moz-outline: none;
border: 0;
}
option::-moz-focus-inner { border: 0; outline: 0 }
table thead tr th
{
background-color: #F2F2F2 !important;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ const PageContainer = ({
<div
className={
'col-xs-4 text-center ' +
styles.padd_remove +
styles.padd_left_remove +
' ' +
styles.sidebarCreateTable
}
Expand All @@ -216,7 +216,6 @@ const PageContainer = ({
to={'/data/schema/' + schemaName + '/table/add'}
>
<Button
className={styles.add_mar_right}
size="xs"
color="white"
data-test="sidebar-add-table"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
.ReactTable
{
border: 0;
}
.ReactTable .-pagination .-btn {
height: 35px !important;
width: 40%;
Expand Down Expand Up @@ -52,16 +56,29 @@

.ReactTable .rt-table .rt-tbody {
margin-bottom: 10px;
border: solid 1px rgba(0,0,0,0.05);
min-width: fit-content !important;
min-width: -moz-fit-content !important;
min-width: -webkit-fit-content !important;
min-width: -o-fit-content !important;
}
.ReactTable .rt-table .rt-thead {
min-width: fit-content !important;
min-width: -moz-fit-content !important;
min-width: -webkit-fit-content !important;
min-width: -o-fit-content !important;
border-right: solid 1px #f2f2f2;
border-left: solid 1px #f2f2f2;
}

.ReactTable .rt-tbody .rt-tr-group:last-child {
border-bottom: solid 1px rgba(0, 0, 0, 0.05);
border-bottom: solid 1px rgba(0,0,0,0.05);
}

.ReactTable .rt-table .rt-tbody .rt-tr-group .rt-tr.-even:hover {
background-color: #ebf7de;
}

.ReactTable .rt-tbody {
.ReactTable .rt-table .rt-tbody {
overflow-x: hidden !important;
min-width: fit-content !important;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ const ViewRows = ({
<Spinner />{' '}
</div>
);
} else if (count === 0) {
} else if (newCurRows.length === 0) {
return <div> No rows found. </div>;
}
let shouldSortColumn = true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ const PageContainer = ({
<div className={styles.sidebarHeadingWrapper}>
<div
className={
'col-xs-8 ' +
'col-xs-7 ' +
styles.sidebarHeading +
' ' +
styles.padd_left_remove
Expand All @@ -105,7 +105,7 @@ const PageContainer = ({
{migrationMode ? (
<div
className={
'col-xs-4 text-center ' +
'col-xs-5 text-center ' +
styles.padd_remove +
' ' +
styles.sidebarCreateTable
Expand All @@ -116,7 +116,6 @@ const PageContainer = ({
to={'/events/manage/triggers/add'}
>
<Button
className={styles.add_mar_right}
color="white"
size="xs"
data-test="sidebar-add-table"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ const ViewRows = ({
};

const renderTableBody = () => {
if (count === 0) {
if (newCurRows.length === 0) {
return <div> No rows found. </div>;
}
let shouldSortColumn = true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ const ViewRows = ({
};

const renderTableBody = () => {
if (count === 0) {
if (newCurRows.length === 0) {
return <div> No rows found. </div>;
}
let shouldSortColumn = true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ const ViewRows = ({
<Spinner />{' '}
</div>
);
} else if (count === 0) {
} else if (newCurRows.length === 0) {
return <div> No rows found. </div>;
}
let shouldSortColumn = true;
Expand Down