Replace Language (or other text) Inside of built in UI

Here’s a neat hack for modifying the existing UI!


Css Style for replacing the Table’s “Save Changes” Button

<style>
div.pagination-bottom > div.-pagination > div:nth-last-child(1) > button.ant-btn.ant-btn-primary > span { display: none ;}

div.pagination-bottom > div.-pagination > div:nth-last-child(1) > button.ant-btn.ant-btn-primary:after { content: '保存'; }

div.pagination-bottom > div.-pagination > div:nth-last-child(1) > button.ant-btn > span { display: none ;}

div.pagination-bottom > div.-pagination > div:nth-last-child(1) > button.ant-btn:after { content: 'キャンセル'; }
</style>
2 Likes