From 64ae7669a7cefa12ea1117680cf9bfb5c3f6084c Mon Sep 17 00:00:00 2001 From: Shivam Gupta Date: Fri, 14 Apr 2023 23:44:39 +0530 Subject: [PATCH] [Docs] Update ClangFormatStyleOptions.rst's versionbadge's to have min-width This fix https://github.com/llvm/llvm-project/issues/61934 By default, the width property is used to set the width of a table column. However, if the content of a cell in that column is wider than the width specified by the width property, the cell's content will overflow the column and the table will become wider than the specified width. This causes the version numbers to be displayed outside of their table cells. Using the min-width property instead of width ensures that the column is wide enough to accommodate the content of its cells. If a cell's content is wider than the specified min-width, the column will expand to fit the content. --- clang/docs/ClangFormatStyleOptions.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/docs/ClangFormatStyleOptions.rst b/clang/docs/ClangFormatStyleOptions.rst index 899d5b2..2e90389 100644 --- a/clang/docs/ClangFormatStyleOptions.rst +++ b/clang/docs/ClangFormatStyleOptions.rst @@ -7,7 +7,7 @@ .. raw:: html .. role:: versionbadge -- 2.7.4