2016-11-16 1 views
1

Iが静止マークアップにこのテーブルを持っている:ReSTテーブルの水平スクロールバーを回避するにはどうすればよいですか?

+---------------------------+-----------------------------------------------------------------+ 
| Option Line Kind   | Distinguishing Characteristic         | 
+===========================+=================================================================+ 
| **Reference**    | The option name is called a (node) reference, if the value\  | 
|       | of an option is a predefined keyword for the current node\  | 
|       | class. Because the option's value is a keyword, it can not\  | 
|       | be an interpolated value.          | 
+---------------------------+-----------------------------------------------------------------+ 
| **Option**    | The option uses a defined option name valid for the current\ | 
|       | node class. The value can be a fixed or interpolated string. | 
+---------------------------+-----------------------------------------------------------------+ 
| **User Defined Variable** | Otherwise an option line is a user defined variable. It can\ | 
|       | have fixed or interpolated string values.      | 
+---------------------------+-----------------------------------------------------------------+ 

スフィンクス(ReadTheDocsテーマ)は、水平スクロールバーを生成する代わりに、列2のコンテンツを破る結果は、この混乱である:

enter image description here

ReST(またはRTFDテーマ??)でテキストを壊すためには、何を変更する必要がありますか?


編集:

この表の結果aflp91 @からの回答:あなたは、テーブルのCSSプロパティを使用することができます enter image description here

答えて

2

が_staticを追加/ custom.cssファイル(

.wy-table-responsive table td { 
white-space: normal; 
} 

はconf.pyにそれを宣言することを忘れないでください:

def setup(app): 
app.add_stylesheet('custom.css') 

私のテストで動作します...

0

Overflow-x : hidden; 
overflow-y : hidden; 
+0

私はCSSを使用していないよ...だから、この部隊の改行?私は隠されたスクロールバーを望んでいません。 – Paebbels

+0

質問もあります:生成されたテーブルはどのように編集すればよいですか? – Paebbels

関連する問題