Просмотр исходного кода

Merge pull request #3488 from owenconti/bug/3480-model-description-over-the-edge

Fixes #3480 - Overflowing model description.
bubble
Kyle 7 лет назад
committed by GitHub
Родитель
Сommit
0113703e16
2 измененных файлов: 3 добавлений и 3 удалений
  1. +1
    -1
      src/core/components/object-model.jsx
  2. +2
    -2
      src/style/_table.scss

+ 1
- 1
src/core/components/object-model.jsx Просмотреть файл

@@ -59,7 +59,7 @@ export default class ObjectModel extends Component {
}
<span className="inner-object">
{
<table className="model" style={{ marginLeft: "2em" }}><tbody>
<table className="model"><tbody>
{
!description ? null : <tr style={{ color: "#999", fontStyle: "italic" }}>
<td>description:</td>


+ 2
- 2
src/style/_table.scss Просмотреть файл

@@ -19,8 +19,8 @@ table

&:first-of-type
{
width: 100px;
padding: 0;
width: 124px;
padding: 0 0 0 2em;
}
}
}


Загрузка…
Отмена
Сохранить